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)
committerPhilip Kaludercic <philipk@posteo.net>
Fri, 26 Jul 2024 21:26:14 +0000 (23:26 +0200)
commit1ae2f004473c1cc26ab654481716c9efb4ecd8de
tree68eb3b23f9c0254a9df9e767d739ad8b134e0553
parent68a5f1f7d185250e61538f3af764b6e4ea62433f
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)
lisp/which-key.el