emacs minor mode optional argument
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.
--- a/contrib/mercurial.el Tue Sep 27 18:30:54 2005 -0700
+++ b/contrib/mercurial.el Wed Sep 28 19:42:03 2005 +0200
@@ -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