From c707ba33a4c3b1de7cb7e8c35736e48ced81a0e0 Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Mon, 24 Jun 2024 22:15:25 +0200 Subject: [PATCH] ; * lisp/which-key.el (which-key-dont-use-unicode): Add :initialize This fixes the change from 768e92b9, which accidentally would call 'custom-reevaluate-setting' on user options before they were registered, initialising their default value to nil. When the 'defcustom' expressions were evaluated later on, they were not properly initialised as their variables were already bound to some value (nil). https://lists.gnu.org/archive/html/emacs-devel/2024-06/msg00825.html --- lisp/which-key.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/which-key.el b/lisp/which-key.el index 91007ce4ada..8b78bfb2576 100644 --- a/lisp/which-key.el +++ b/lisp/which-key.el @@ -133,6 +133,7 @@ which-key-dont-use-unicode (mapc #'custom-reevaluate-setting '(which-key-separator which-key-ellipsis))) + :initialize #'custom-initialize-changed :type 'boolean :package-version "1.0" :version "30.1") -- 2.45.2