[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/undo-fu 9cfc95948a 19/82: Cleanup: remove unnecessary calc
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/undo-fu 9cfc95948a 19/82: Cleanup: remove unnecessary calculation, auto-load redo-all |
Date: |
Thu, 7 Jul 2022 12:04:50 -0400 (EDT) |
branch: elpa/undo-fu
commit 9cfc95948a4c23e50722dad08f2edbd744646402
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Cleanup: remove unnecessary calculation, auto-load redo-all
---
undo-fu.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/undo-fu.el b/undo-fu.el
index 6590e7fa2a..c1c2a32da1 100644
--- a/undo-fu.el
+++ b/undo-fu.el
@@ -135,6 +135,7 @@ Returns the number of steps to reach this list or
COUNT-LIMIT."
;; Public functions.
+;;;###autoload
(defun undo-fu-only-redo-all ()
"Redo all actions until the initial undo step.
@@ -143,9 +144,7 @@ wraps the `undo' function."
(unless undo-fu--checkpoint
(user-error "Redo end-point not found!"))
- (undo-fu--with-message-suffix
- " All"
- (undo-fu-only-redo (undo-fu--count-redo-available undo-fu--checkpoint
most-positive-fixnum))))
+ (undo-fu--with-message-suffix " All" (undo-fu-only-redo
most-positive-fixnum)))
;;;###autoload
(defun undo-fu-only-redo (&optional arg)
- [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 <=
- [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, 2022/07/07
- [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