summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2015-03-21 03:31:59 -0500
committerJohn Wiegley <johnw@newartisans.com>2015-03-21 03:32:10 -0500
commit012c37d722f779747abdb747db196eeb552aaf4c (patch)
tree96b840ad26b37275b1d4b66bdc59adcda6592816
parent029e46a8743e8b6a0d63f449b90d233e1fd800b5 (diff)
downloademacs-012c37d722f779747abdb747db196eeb552aaf4c.tar.gz
emacs-012c37d722f779747abdb747db196eeb552aaf4c.tar.bz2
emacs-012c37d722f779747abdb747db196eeb552aaf4c.zip
Change bind-key* behavior to mimic bind-keys*
Fixes https://github.com/jwiegley/use-package/issues/148
-rw-r--r--lisp/use-package/bind-key.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/use-package/bind-key.el b/lisp/use-package/bind-key.el
index 083c8b1c0a6..12502c07c38 100644
--- 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.