From 428aedfce0157920814fbb2ae5d00b4aea89df88 Mon Sep 17 00:00:00 2001 From: Justin Burkett Date: Wed, 16 Dec 2020 12:20:14 -0500 Subject: [PATCH] Further simplify which-key--pseudo-key --- which-key.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/which-key.el b/which-key.el index b2635ea6ad9..ba3efe3e8a3 100644 --- a/which-key.el +++ b/which-key.el @@ -1596,7 +1596,7 @@ which are strings. KEY is of the form produced by `key-binding'." "Replace the last key in the sequence KEY by a special symbol in order for which-key to allow looking up a description for the key." (let ((seq (listify-key-sequence key))) - (vconcat (or prefix (butlast seq)) (vector 'which-key (last seq))))) + (vconcat (or prefix (butlast seq)) [which-key] (last seq)))) (defun which-key--maybe-get-prefix-title (keys) "KEYS is a string produced by `key-description'.