From de9f6814e79f422b389f1f6ceefc06b16a9d4b9b Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Sat, 31 May 2014 14:58:07 -0400 Subject: [PATCH] bind-key: no vector keys in personal-keybindings describe-personal-keybindings requires the key sequences to be stored as strings. --- lisp/use-package/bind-key.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/use-package/bind-key.el b/lisp/use-package/bind-key.el index 58a36eabeb7..bf28e202388 100644 --- a/lisp/use-package/bind-key.el +++ b/lisp/use-package/bind-key.el @@ -154,7 +154,9 @@ spelled-out keystrokes, e.g., \"C-c C-z\". See documentation of (setq personal-keybindings (delq ,entryvar personal-keybindings)))) (setq personal-keybindings - (cons (list (cons ,namevar (quote ,keymap)) + (cons (list (cons (if (stringp ,namevar) ,namevar + (key-description ,namevar)) + (quote ,keymap)) ,command (unless (numberp ,bindingvar) ,bindingvar)) personal-keybindings)) -- 2.39.2