From: Philip Kaludercic Date: Mon, 24 Jun 2024 20:15:25 +0000 (+0200) Subject: ; * lisp/which-key.el (which-key-dont-use-unicode): Add :initialize X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~886 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6ad6507532bc653c13531112e9a5467e4370929a;p=emacs.git ; * 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 --- diff --git a/lisp/which-key.el b/lisp/which-key.el index a5075b3ba69..973616ef116 100644 --- a/lisp/which-key.el +++ b/lisp/which-key.el @@ -133,6 +133,7 @@ For affected settings, see `which-key-replacement-alist', `which-key-ellipsis' (mapc #'custom-reevaluate-setting '(which-key-separator which-key-ellipsis))) + :initialize #'custom-initialize-changed :type 'boolean :package-version "1.0" :version "30.1")