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

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

[nongnu] elpa/undo-fu f53b3e3963 26/82: Use eval-after-load instead of w


From: ELPA Syncer
Subject: [nongnu] elpa/undo-fu f53b3e3963 26/82: Use eval-after-load instead of with-eval-after-load for Emacs 24.3
Date: Thu, 7 Jul 2022 12:04:51 -0400 (EDT)

branch: elpa/undo-fu
commit f53b3e396317436360d882600a7148313fb7f93f
Author: USAMI Kenta <tadsan@zonu.me>
Commit: Campbell Barton <ideasman42@gmail.com>

    Use eval-after-load instead of with-eval-after-load for Emacs 24.3
    
    'with-eval-after-load' macro was added in Emacs 24.4.
    Use eval-after-load to keep Emacs24.3 support.
---
 undo-fu.el | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/undo-fu.el b/undo-fu.el
index 908015008c..44c143d142 100644
--- a/undo-fu.el
+++ b/undo-fu.el
@@ -332,10 +332,13 @@ Optional argument ARG the number of steps to undo."
 ;; Evil Mode (setup if in use)
 ;;
 ;; Don't let these commands repeat.
-(with-eval-after-load 'evil
-  (evil-declare-not-repeat 'undo-fu-only-undo)
-  (evil-declare-not-repeat 'undo-fu-only-redo)
-  (evil-declare-not-repeat 'undo-fu-only-redo-all))
+(eval-after-load
+  'evil
+  '
+  (progn
+    (evil-declare-not-repeat 'undo-fu-only-undo)
+    (evil-declare-not-repeat 'undo-fu-only-redo)
+    (evil-declare-not-repeat 'undo-fu-only-redo-all)))
 
 (provide 'undo-fu)
 



reply via email to

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