From: Eli Zaretskii Date: Fri, 4 Aug 2023 06:41:30 +0000 (+0300) Subject: Fix byte-compiled files that use 'bind-key' from use-package X-Git-Tag: emacs-29.1.90~259 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f183770c56fab7917fc975222f074ca7eb4a410;p=emacs.git 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 . (Bug#64901) --- diff --git a/lisp/use-package/bind-key.el b/lisp/use-package/bind-key.el index 0ab72eafce2..95dda958375 100644 --- a/lisp/use-package/bind-key.el +++ b/lisp/use-package/bind-key.el @@ -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)