mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Change bind-key* behavior to mimic bind-keys*
Fixes https://github.com/jwiegley/use-package/issues/148
This commit is contained in:
parent
029e46a874
commit
012c37d722
1 changed files with 1 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue