[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/undo-fu c5bb7b0402 22/82: Evil Mode: mark undo commands no
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/undo-fu c5bb7b0402 22/82: Evil Mode: mark undo commands not to repeat |
Date: |
Thu, 7 Jul 2022 12:04:50 -0400 (EDT) |
branch: elpa/undo-fu
commit c5bb7b0402ea6d16b760afffec9d08f78a0b692d
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Evil Mode: mark undo commands not to repeat
Undo was interfering with repeating the last command in evil-mode.
---
undo-fu.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/undo-fu.el b/undo-fu.el
index a97abd894d..53b9af8f4a 100644
--- a/undo-fu.el
+++ b/undo-fu.el
@@ -309,6 +309,14 @@ Optional argument ARG the number of steps to undo."
(setq undo-fu--checkpoint-is-blocking nil)))))
(setq this-command 'undo-fu-only-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))
+
(provide 'undo-fu)
;;; undo-fu.el ends here
- [nongnu] elpa/undo-fu 34b27c01da 66/82: Cleanup: use constant instead of local-variable for command list, (continued)
- [nongnu] elpa/undo-fu 34b27c01da 66/82: Cleanup: use constant instead of local-variable for command list, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 7ec3cc558e 68/82: Cleanup: use defgroup, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 71c474e29f 71/82: Cleanup: docstring, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu a2241d3b52 76/82: Cleanup: simplify unconstrained undo checks, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu d26b64530a 02/82: Support undo/redo multiple times, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 374a62cba0 08/82: Disable undo-in-region support, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu be82f88630 07/82: Add installation section, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 9cc8c64f16 12/82: Merge branch 'patch-1' into 'master', ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 6f876014dc 14/82: Cleanup: complete doc string for message override macro, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 769789d742 17/82: Add autoload cookie, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu c5bb7b0402 22/82: Evil Mode: mark undo commands not to repeat,
ELPA Syncer <=
- [nongnu] elpa/undo-fu fd2e9952f9 31/82: Merge branch 'compiler-warnings' into 'master', ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu c2be4ae43e 41/82: Cleanup: blank lines, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu d03de12298 44/82: Cleanup: use the term 'checkpoint' instead of 'end-point', ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 2cba1903f3 45/82: Cleanup: improve 'undo-fu-disable-checkpoint' messages, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 32674fc7b0 47/82: Release 0.3, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu c0806c1903 60/82: Update changelog, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu aae7ec9784 49/82: Cleanup: use mapc for multiple calls to evil-declare-not-repeat, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu f9c39c248c 81/82: readme: update to use evil-modes undo-fu support, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 97e7f4f6e0 82/82: Change URL to codeberg, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu fa245fd3d0 01/82: Initial functionality., ELPA Syncer, 2022/07/07