emacs minor mode optional argument
Thomas Arendsen Hein
thomas at intevation.de
Wed Sep 28 03:33:34 CDT 2005
* Robin Farine <robin.farine at terminus.org> [20050910 11:27]:
> With GNU Emacs 21.4.1 and desktop save/restore enabled, loading
> "mercurial.el" from ".emacs" breaks Emacs' initialization sequence
> when the desktop restore code loads a file under Mercurial control.
> The function 'desktop-create-buffer' passes an argument to each
> minor mode it activates for the buffer.
> diff -r effff847870f contrib/mercurial.el
> --- a/contrib/mercurial.el Fri Sep 9 19:19:24 2005
> +++ b/contrib/mercurial.el Sat Sep 10 11:11:24 2005
> @@ -633,7 +633,7 @@
> (modified . "m")))))))
> -(defun hg-mode ()
> +(defun hg-mode (&optional toggle)
> "Minor mode for Mercurial distributed SCM integration.
> The Mercurial mode user interface is based on that of VC mode, so if
I'm catching up old list mails and this patch didn't get any
response. Can anyone of the emacs using people comment on this?
Email: thomas at intevation.de
More information about the Mercurial