From 3bea19f4e71d8721db499d5476b851e3010a45f3 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Mon, 7 Aug 2023 21:06:52 +0200 Subject: [PATCH] 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 --- lisp/init-ui.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/init-ui.el b/lisp/init-ui.el index be79585..8c48692 100644 --- a/lisp/init-ui.el +++ b/lisp/init-ui.el @@ -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)