; * 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
This commit is contained in:
Philip Kaludercic 2024-06-24 22:15:25 +02:00
parent 60b38c317b
commit 6ad6507532
No known key found for this signature in database

View file

@ -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")