emacs minor mode optional argument
Thomas Arendsen Hein
thomas at intevation.de
Wed Sep 28 12:43:14 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")))))))
> status)))
>
> -(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
Applied to my tree to be pulled by Matt.
Thomas
--
Email: thomas at intevation.de
http://intevation.de/~thomas/
More information about the Mercurial
mailing list