Mercurial > emacs
view nt/icons/emacs22.ico @ 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 | b6a29abf7364 |
children |