use modern version which-function-mode

This line made corfu popup completion in golang fail to initialize
because the function has not been found and the whole go-mode-hook
went dark. This only happened after the update to 29.1. Using the more
modern name fixes things and corfu works again.
This commit is contained in:
2023-08-07 21:06:52 +02:00
parent a1a7a5bd60
commit 1533e6fdec

View File

@@ -35,7 +35,7 @@
;; display current function - if any - in mode line ;; display current function - if any - in mode line
(add-something-to-mode-hooks (add-something-to-mode-hooks
'(c c++ cperl vala makefile ruby shell-script python go) '(c c++ cperl vala makefile ruby shell-script python go)
'which-func-mode) 'which-function-mode)