branch: elpa/undo-fu
commit c92261a3b7fa8dcb62859f08d85f6e670221c743
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>

    Cleanup: use with-eval-after-load
    
    Avoids quoting code.
---
 undo-fu.el | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/undo-fu.el b/undo-fu.el
index 8367c25641..fd565fb8d8 100644
--- a/undo-fu.el
+++ b/undo-fu.el
@@ -403,17 +403,15 @@ Optional argument ARG the number of steps to undo."
 ;; Don't let these commands repeat.
 ;;
 ;; Notes:
-;; - Use `with-eval-after-load' once Emacs version 24.4 is the minimum 
supported version.
 ;; - Package lint complains about using this command,
 ;;   however it's needed to avoid issues with `evil-mode'.
 (declare-function evil-declare-not-repeat "ext:evil-common")
-(eval-after-load 'evil '(mapc #'evil-declare-not-repeat undo-fu--commands))
+(with-eval-after-load 'evil (mapc #'evil-declare-not-repeat undo-fu--commands))
 
-;; `aggressive-indent-mode’ (setup if in use).
+;; `aggressive-indent-mode' (setup if in use).
 (defvar aggressive-indent-protected-commands)
-(eval-after-load
-  'aggressive-indent
-  '(nconc aggressive-indent-protected-commands undo-fu--commands))
+(with-eval-after-load 'aggressive-indent
+  (nconc aggressive-indent-protected-commands undo-fu--commands))
 
 (provide 'undo-fu)
 ;;; undo-fu.el ends here

Reply via email to