Skip to content

Commit cc0a3a5

Browse files
committed
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.
1 parent 543ad34 commit cc0a3a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lisp/which-key.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ of the which-key popup."
124124
:type 'integer
125125
:package-version "1.0" :version "30.1")
126126

127-
(defcustom which-key-dont-use-unicode nil
127+
(defcustom which-key-dont-use-unicode t
128128
"If non-nil, don't use any unicode characters in default setup.
129129
For affected settings, see `which-key-replacement-alist', `which-key-ellipsis'
130130
`which-key-separator'."
@@ -137,6 +137,7 @@ For affected settings, see `which-key-replacement-alist', `which-key-ellipsis'
137137
Default is \"\", unless `which-key-dont-use-unicode' is non
138138
nil, in which case the default is \" : \"."
139139
:type 'string
140+
:set-after '(which-key-dont-use-unicode)
140141
:package-version "1.0" :version "30.1")
141142

142143
(defcustom which-key-ellipsis
@@ -146,6 +147,7 @@ Default is \"…\", unless `which-key-dont-use-unicode' is non nil,
146147
in which case the default is \"..\". This can also be the empty
147148
string to truncate without using any ellipsis."
148149
:type 'string
150+
:set-after '(which-key-dont-use-unicode)
149151
:package-version "1.0" :version "30.1")
150152

151153
(defcustom which-key-prefix-prefix "+"

0 commit comments

Comments
 (0)