Mercurial > emacs
comparison lisp/custom.el @ 108144:c46b2d0614cb
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).
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 27 Apr 2010 14:14:16 -0400 |
parents | 6eae3bc10330 |
children | 715d5a9df4aa |
comparison
equal
deleted
inserted
replaced
108143:624169215019 | 108144:c46b2d0614cb |
---|