branch: externals/which-key
commit 428aedfce0157920814fbb2ae5d00b4aea89df88
Author: Justin Burkett <[email protected]>
Commit: Justin Burkett <[email protected]>

    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 b2635ea..ba3efe3 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'.

Reply via email to