Mercurial > hg
changeset 1371:68e84563c540
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.
author | Robin Farine <robin.farine@terminus.org> |
---|---|
date | Wed, 28 Sep 2005 19:42:03 +0200 |
parents | 51ac9a79f3e5 |
children | 544633f0080d |
files | contrib/mercurial.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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