[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)
- [nongnu] branch elpa/undo-fu created (now 97e7f4f6e0), ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 85fa6556e9 04/82: Add evil-mode key binding example, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu c20637ffe3 11/82: Fix typo, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 9cfc95948a 19/82: Cleanup: remove unnecessary calculation, auto-load redo-all, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu f8f416c0d4 25/82: readme: capitalize 'Emacs', ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu f53b3e3963 26/82: Use eval-after-load instead of with-eval-after-load for Emacs 24.3,
ELPA Syncer <=
- [nongnu] elpa/undo-fu 5c9aadad4b 27/82: Support using undo-fu-only-redo after regular undo/undo-only, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 6e8095c449 29/82: Suppress compiler warnings about evil functions, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 7d600ab8f2 30/82: Fix 'success' assignment (internal variable), ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 3c366ef52a 33/82: Add '.elisp-autofmt' to enable auto-formatting, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 4d635722a3 34/82: readme: minor improvements to wording, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 88c4086e12 43/82: Add 'undo-fu-ignore-keyboard-quit' & 'undo-fu-disable-checkpoint', ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 2b1e53285a 55/82: Fix checkpoint initialization with undo data from undo-fu-session, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu a651bb3035 57/82: Complete docstring, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 46de023b5f 58/82: Use logic back-ported from emacs-28 'undo-redo', ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 8b00b16fa8 46/82: Non-destructive commands no longer break the undo-chain, ELPA Syncer, 2022/07/07