summaryrefslogtreecommitdiff
path: root/lisp/use-package/bind-key.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/use-package/bind-key.el')
-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.