diff options
| author | Philip Kaludercic | 2024-06-18 10:53:18 +0200 |
|---|---|---|
| committer | Philip Kaludercic | 2024-06-18 11:31:26 +0200 |
| commit | cc0a3a5f65bda4d3a34cfcd8070540aa1b36f84d (patch) | |
| tree | 2f00fb144fef317843a677cb2ba790952b1b7466 | |
| parent | 543ad34ee4d030e0f0f6f900d8606288c4cdba93 (diff) | |
| download | emacs-feature/which-key-in-core.tar.gz emacs-feature/which-key-in-core.zip | |
Disable usage of unicode for which-key by defaultfeature/which-key-in-core
* 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.
| -rw-r--r-- | lisp/which-key.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/which-key.el b/lisp/which-key.el index 45f8a31364a..1de599e5497 100644 --- a/lisp/which-key.el +++ b/lisp/which-key.el | |||
| @@ -124,7 +124,7 @@ of the which-key popup." | |||
| 124 | :type 'integer | 124 | :type 'integer |
| 125 | :package-version "1.0" :version "30.1") | 125 | :package-version "1.0" :version "30.1") |
| 126 | 126 | ||
| 127 | (defcustom which-key-dont-use-unicode nil | 127 | (defcustom which-key-dont-use-unicode t |
| 128 | "If non-nil, don't use any unicode characters in default setup. | 128 | "If non-nil, don't use any unicode characters in default setup. |
| 129 | For affected settings, see `which-key-replacement-alist', `which-key-ellipsis' | 129 | For affected settings, see `which-key-replacement-alist', `which-key-ellipsis' |
| 130 | `which-key-separator'." | 130 | `which-key-separator'." |
| @@ -137,6 +137,7 @@ For affected settings, see `which-key-replacement-alist', `which-key-ellipsis' | |||
| 137 | Default is \" → \", unless `which-key-dont-use-unicode' is non | 137 | Default is \" → \", unless `which-key-dont-use-unicode' is non |
| 138 | nil, in which case the default is \" : \"." | 138 | nil, in which case the default is \" : \"." |
| 139 | :type 'string | 139 | :type 'string |
| 140 | :set-after '(which-key-dont-use-unicode) | ||
| 140 | :package-version "1.0" :version "30.1") | 141 | :package-version "1.0" :version "30.1") |
| 141 | 142 | ||
| 142 | (defcustom which-key-ellipsis | 143 | (defcustom which-key-ellipsis |
| @@ -146,6 +147,7 @@ Default is \"…\", unless `which-key-dont-use-unicode' is non nil, | |||
| 146 | in which case the default is \"..\". This can also be the empty | 147 | in which case the default is \"..\". This can also be the empty |
| 147 | string to truncate without using any ellipsis." | 148 | string to truncate without using any ellipsis." |
| 148 | :type 'string | 149 | :type 'string |
| 150 | :set-after '(which-key-dont-use-unicode) | ||
| 149 | :package-version "1.0" :version "30.1") | 151 | :package-version "1.0" :version "30.1") |
| 150 | 152 | ||
| 151 | (defcustom which-key-prefix-prefix "+" | 153 | (defcustom which-key-prefix-prefix "+" |