Use which-function-mode instead of deprecated which-func-mode if available
This commit is contained in:
parent
fc99d577fa
commit
21c227eff4
4
init.el
4
init.el
@ -863,7 +863,9 @@ INFO plist."
|
|||||||
:config
|
:config
|
||||||
(add-hook 'prog-mode-hook
|
(add-hook 'prog-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(which-func-mode)))
|
(if (fboundp 'which-function-mode)
|
||||||
|
(which-function-mode)
|
||||||
|
(which-func-mode))))
|
||||||
(setq which-func-unknown "∅"))
|
(setq which-func-unknown "∅"))
|
||||||
|
|
||||||
(use-package ace-popup-menu
|
(use-package ace-popup-menu
|
||||||
|
Loading…
Reference in New Issue
Block a user