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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue