diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2015-11-30 10:52:12 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2015-11-30 10:52:12 -0500 |
commit | cbfb129555482c582fe875766680bf8179c0588c (patch) | |
tree | f2337014213c5b865250676ff6033d90e6c6d0d2 /test/lisp/emacs-lisp | |
parent | c77b816bc3d8fc242b95c04859803ffff5bb8210 (diff) | |
download | emacs-cbfb129555482c582fe875766680bf8179c0588c.tar.gz emacs-cbfb129555482c582fe875766680bf8179c0588c.tar.bz2 emacs-cbfb129555482c582fe875766680bf8179c0588c.zip |
* lisp/progmodes/which-func.el: Improve disabling the mode
Use lexical-binding.
(which-func-modes, which-func-non-auto-modes, which-func-maxout)
(which-func, which-func-format): Remove redundant :group arg.
(which-func-try-to-enable): New function.
(which-func-ff-hook, which-function-mode): Use it.
(mode-line-misc-info): Add ourselves here instead of in bindings.el.
* lisp/bindings.el (mode-line-misc-info): Remove which-func-mode entry.
Diffstat (limited to 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions