Update options that depend on 'which-key-dont-use-unicode'
* lisp/which-key.el (which-key-dont-use-unicode): Add a custom setter that re-evaluates a manual list of options use 'which-key-dont-use-unicode' to determine their default value. https://lists.gnu.org/archive/html/help-gnu-emacs/2024-06/msg00130.html
This commit is contained in:
parent
4b2682b17c
commit
768e92b9c0
1 changed files with 5 additions and 0 deletions
|
@ -128,6 +128,11 @@ of the which-key popup."
|
||||||
"If non-nil, don't use any unicode characters in default setup.
|
"If non-nil, don't use any unicode characters in default setup.
|
||||||
For affected settings, see `which-key-replacement-alist', `which-key-ellipsis'
|
For affected settings, see `which-key-replacement-alist', `which-key-ellipsis'
|
||||||
`which-key-separator'."
|
`which-key-separator'."
|
||||||
|
:set (lambda (sym val)
|
||||||
|
(custom-set-default sym val)
|
||||||
|
(mapc #'custom-reevaluate-setting
|
||||||
|
'(which-key-separator
|
||||||
|
which-key-ellipsis)))
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
:package-version "1.0" :version "30.1")
|
:package-version "1.0" :version "30.1")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue