diff options
| author | Alan Mackenzie | 2020-05-20 18:02:13 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2020-05-20 18:02:13 +0000 |
| commit | bd64571ef213a4279f897b7446e97ccd76fe4516 (patch) | |
| tree | 0bacba813451e3470f675883abc1525d0de14f41 /lib-src | |
| parent | 525df72753acdd0221771a2a298842868f49f4b4 (diff) | |
| download | emacs-bd64571ef213a4279f897b7446e97ccd76fe4516.tar.gz emacs-bd64571ef213a4279f897b7446e97ccd76fe4516.zip | |
which-function-mode: put hook function on after-change-major-mode-hook
, rather than find-file-hook. This keeps which-function-mode active should
the major mode be reinitialized. Also accept a null result from
add-log-current-defun as definitive, should that function have run. This
fixes bug #40714.
* lisp/progmodes/which-func.el (which-func-ff-hook): Put on
after-change-major-mode-hook.
(which-function): Enhance the logic to accept a null result from
add-log-current-defun.
Diffstat (limited to 'lib-src')
0 files changed, 0 insertions, 0 deletions