mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
Fix byte-compiled files that use 'bind-key' from use-package
* lisp/use-package/bind-key.el (bind-key): Ensure 'bind-key' is loaded at run time. Patch by John Wiegley <johnw@gnu.org>. (Bug#64901)
This commit is contained in:
parent
acfcf7f369
commit
0f183770c5
@ -196,6 +196,7 @@ can safely be called at any time."
|
||||
(key-description ,namevar))
|
||||
(if (symbolp ,keymap) ,keymap (quote ,keymap))))
|
||||
(,bindingvar (lookup-key ,kmapvar ,keyvar)))
|
||||
(require 'bind-key) ; ensure `personal-keybindings' is in scope
|
||||
(let ((entry (assoc ,kdescvar personal-keybindings))
|
||||
(details (list ,command
|
||||
(unless (numberp ,bindingvar)
|
||||
|
Loading…
Reference in New Issue
Block a user