emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/hydra 8119d82fe9 13/46: hydra.el (hydra--make-defun): r


From: Stefan Monnier
Subject: [elpa] externals/hydra 8119d82fe9 13/46: hydra.el (hydra--make-defun): require hydra
Date: Tue, 25 Oct 2022 22:27:20 -0400 (EDT)

branch: externals/hydra
commit 8119d82fe964cfe5e1797e2d4634ecedf0987caf
Author: Justin Burkett <justin@burkett.cc>
Commit: Justin Burkett <justin@burkett.cc>

    hydra.el (hydra--make-defun): require hydra
    
    When a user compiles hydras in a personal config file, it may be the case 
that
    hydra is available at compilation time but has not been loaded when the 
file is
    reloaded.
---
 hydra.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hydra.el b/hydra.el
index c8b4ce1436..7d3689e4b3 100644
--- a/hydra.el
+++ b/hydra.el
@@ -794,6 +794,7 @@ BODY-AFTER-EXIT is added to the end of the wrapper."
     `(defun ,cmd-name ()
        ,doc
        (interactive)
+       (require 'hydra)
        (hydra-default-pre)
        ,@(when body-pre (list body-pre))
        ,@(if (hydra--head-property head :exit)



reply via email to

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