From 012c37d722f779747abdb747db196eeb552aaf4c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 21 Mar 2015 03:31:59 -0500 Subject: [PATCH] Change bind-key* behavior to mimic bind-keys* Fixes https://github.com/jwiegley/use-package/issues/148 --- lisp/use-package/bind-key.el | 4 +--- 1 file changed, 1 insertion(+), 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. -- 2.39.2