aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorAlan Mackenzie2020-05-20 18:02:13 +0000
committerAlan Mackenzie2020-05-20 18:02:13 +0000
commitbd64571ef213a4279f897b7446e97ccd76fe4516 (patch)
tree0bacba813451e3470f675883abc1525d0de14f41 /lib-src
parent525df72753acdd0221771a2a298842868f49f4b4 (diff)
downloademacs-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