projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
029e46a
)
Change bind-key* behavior to mimic bind-keys*
author
John Wiegley
<johnw@newartisans.com>
Sat, 21 Mar 2015 08:31:59 +0000
(
03:31
-0500)
committer
John Wiegley
<johnw@newartisans.com>
Sat, 21 Mar 2015 08:32:10 +0000
(
03:32
-0500)
Fixes https://github.com/jwiegley/use-package/issues/148
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 083c8b1c0a687305a3442e6ce436c4419aad6310..12502c07c382fddb98d8b809f7319059e656cacb 100644
(file)
--- a/
lisp/use-package/bind-key.el
+++ b/
lisp/use-package/bind-key.el
@@
-165,9
+165,7
@@
spelled-out keystrokes, e.g., \"C-c C-z\". See documentation of
`(bind-key ,key-name nil ,keymap))
(defmacro bind-key* (key-name command)
- `(progn
- (bind-key ,key-name ,command)
- (define-key override-global-map ,(read-kbd-macro key-name) ,command)))
+ `(bind-key ,key-name ,command override-global-map))
(defmacro bind-keys (&rest args)
"Bind multiple keys at once.