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 fixes https://github.com/minad/corfu/issues/354
This commit is contained in:
2023-08-07 21:06:52 +02:00
parent a1a7a5bd60
commit 3bea19f4e7

View File

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