]> git.eshelyaron.com Git - emacs.git/commit
Fix edge-case with 'which-key-dont-use-unicode' setter
authorPhilip Kaludercic <philipk@posteo.net>
Fri, 26 Jul 2024 21:26:14 +0000 (23:26 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 27 Jul 2024 12:03:10 +0000 (14:03 +0200)
commit736cdcf99c0c2a4b84a57d4c54dc953ba762445b
tree930d73c71ebe7ce55a5ca52b3479126bb62e5834
parent6d4412eed75dcaa076cfd844e744be30144c0aa6
Fix edge-case with 'which-key-dont-use-unicode' setter

* lisp/which-key.el (which-key-dont-use-unicode): Check if the
user options have a 'standard-value' before proceeding to
reevaluate.  This avoids accidentally setting the symbol value
to nil, before the user option has been declared, overriding the
actual non-nil, default values.  (Bug#72077)

(cherry picked from commit 1ae2f004473c1cc26ab654481716c9efb4ecd8de)
lisp/which-key.el