projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91b439c
)
bind-key: no vector keys in personal-keybindings
author
Noam Postavsky
<npostavs@gmail.com>
Sat, 31 May 2014 18:58:07 +0000
(14:58 -0400)
committer
Noam Postavsky
<npostavs@gmail.com>
Sat, 31 May 2014 19:03:58 +0000
(15:03 -0400)
describe-personal-keybindings requires the key sequences to be stored as
strings.
lisp/use-package/bind-key.el
patch
|
blob
|
history
diff --git
a/lisp/use-package/bind-key.el
b/lisp/use-package/bind-key.el
index 58a36eabeb7ce2e136a14ce23e3340ff93630bbb..bf28e202388534885d4db9f6d3865ee928539613 100644
(file)
--- 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))