From: Noam Postavsky Date: Sat, 31 May 2014 18:58:07 +0000 (-0400) Subject: bind-key: no vector keys in personal-keybindings X-Git-Tag: emacs-29.0.90~1306^2~15^2~406^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=de9f6814e7;p=emacs.git bind-key: no vector keys in personal-keybindings describe-personal-keybindings requires the key sequences to be stored as strings. --- 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))