]> git.eshelyaron.com Git - emacs.git/commit
Make it possible to locally disable a globally enabled mode.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 28 Apr 2010 15:18:37 +0000 (11:18 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 28 Apr 2010 15:18:37 +0000 (11:18 -0400)
commit56924d996f1ed21fdcfedd80792a5fe718b3f831
treeff1484bbd413ba9faffd9a9b20e6f6a1a7b16e84
parent106c6f743273e9119c0a38f79e7aaf3df3596c51
Make it possible to locally disable a globally enabled mode.
* simple.el (fundamental-mode): Run fundamental-mode-hook.
* emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
rather than kill-all-local-variables so it runs fundamental-mode-hook.
* emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
that subsequent hooks get a chance to disable it.
lisp/ChangeLog
lisp/emacs-lisp/derived.el
lisp/emacs-lisp/easy-mmode.el
lisp/simple.el