byplayer / egg

Emacs Got Git. This is a clone of Marius's excellent magit. Egg is an emacs interface to git.
bogolisk.blogspot.com
97 stars 20 forks source link

Goto line replacement #37

Closed dotemacs closed 12 years ago

dotemacs commented 12 years ago

When compiling egg.el, the following errors would pop up:

Warning: `goto-line' used from Lisp code
That command is designed for interactive use only

And as the documentation states: This function is usually the wrong thing to use in a Lisp program. What you probably want instead is something like:

(goto-char (point-min)) (forward-line (1- N))

Thanks

byplayer commented 12 years ago

I merged it thank you.