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

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

[elpa] externals/objed fe5548c 138/216: Install advices for :commands af


From: Stefan Monnier
Subject: [elpa] externals/objed fe5548c 138/216: Install advices for :commands after objed is loaded, fixes #21
Date: Tue, 8 Jan 2019 12:29:27 -0500 (EST)

branch: externals/objed
commit fe5548c654edca4c28b1067c51f68aae5700524b
Author: Clemera <address@hidden>
Commit: Clemera <address@hidden>

    Install advices for :commands after objed is loaded, fixes #21
---
 objed-objects.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/objed-objects.el b/objed-objects.el
index bf832ff..77001c8 100644
--- a/objed-objects.el
+++ b/objed-objects.el
@@ -287,7 +287,8 @@ defined."
                (push `(put ',fname 'objed-no-skip t)
                      res))
              (when commands
-               (push `(objed--install-advices-for ',commands ',name)
+               (push `(with-eval-after-load 'objed
+                        (objed--install-advices-for ',commands ',name))
                      res))
              ;; catch all return arg if not present
              (push `(t ,arg) cbody)



reply via email to

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