From: Philip Kaludercic Date: Tue, 18 Jun 2024 08:53:18 +0000 (+0200) Subject: Disable usage of unicode for which-key by default X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~983^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cc0a3a5f65bda4d3a34cfcd8070540aa1b36f84d;p=emacs.git 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. --- 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." :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 "+"