]> git.eshelyaron.com Git - emacs.git/commit
Let the user turn off locally a globalized minor mode
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 27 Apr 2010 18:14:16 +0000 (14:14 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 27 Apr 2010 18:14:16 +0000 (14:14 -0400)
commit17818d715235dafd82625fb6d739dddaf60c2701
treefb563f2b8ae290301c2986f6360710bbab392e19
parentccaa47655d21a7c5b37d4e3607deb9c729b34d70
Let the user turn off locally a globalized minor mode
* emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
Avoid re-enabling a minor mode after the user turned the minor mode
off if MODE-enable-in-buffers is run twice (typically once from
fundamental-mode's after-change-major-mode-hook and a second time from
run-mode-hook's own after-change-major-mode-hook).
lisp/ChangeLog
lisp/emacs-lisp/easy-mmode.el