emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 0f183770c56: Fix byte-compiled files that use 'bind-key' from u


From: Eli Zaretskii
Subject: emacs-29 0f183770c56: Fix byte-compiled files that use 'bind-key' from use-package
Date: Fri, 4 Aug 2023 02:42:28 -0400 (EDT)

branch: emacs-29
commit 0f183770c56fab7917fc975222f074ca7eb4a410
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    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)
---
 lisp/use-package/bind-key.el | 1 +
 1 file changed, 1 insertion(+)

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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]