Disable usage of unicode for which-key by default

* lisp/which-key.el (which-key-dont-use-unicode): Set to t.
(which-key-separator, which-key-ellipsis): Ensure that these
options are set after 'which-key-dont-use-unicode', as their
default value depends on it.
This commit is contained in:
Philip Kaludercic 2024-06-18 10:53:18 +02:00
parent 543ad34ee4
commit cc0a3a5f65
No known key found for this signature in database

View file

@ -124,7 +124,7 @@ of the which-key popup."
:type 'integer
:package-version "1.0" :version "30.1")
(defcustom which-key-dont-use-unicode nil
(defcustom which-key-dont-use-unicode t
"If non-nil, don't use any unicode characters in default setup.
For affected settings, see `which-key-replacement-alist', `which-key-ellipsis'
`which-key-separator'."
@ -137,6 +137,7 @@ For affected settings, see `which-key-replacement-alist', `which-key-ellipsis'
Default is \" \", unless `which-key-dont-use-unicode' is non
nil, in which case the default is \" : \"."
:type 'string
:set-after '(which-key-dont-use-unicode)
:package-version "1.0" :version "30.1")
(defcustom which-key-ellipsis
@ -146,6 +147,7 @@ Default is \"…\", unless `which-key-dont-use-unicode' is non nil,
in which case the default is \"..\". This can also be the empty
string to truncate without using any ellipsis."
:type 'string
:set-after '(which-key-dont-use-unicode)
:package-version "1.0" :version "30.1")
(defcustom which-key-prefix-prefix "+"