branch: elpa/undo-fu
commit 0bbe00fbb1e3150965fbaa30f93b8155721ca4c9
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
Cleanup: correct the note on redoing nothing
Since redoing one step at a time, only `undo' (when unconstrained)
would show a message for a count of zero.
---
undo-fu.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/undo-fu.el b/undo-fu.el
index e154b4ee26..a46efa3746 100644
--- a/undo-fu.el
+++ b/undo-fu.el
@@ -354,9 +354,8 @@ Optional argument ARG The number of steps to redo."
;; (otherwise unconstrained undo would reverse after redoing nothing).
;; NOTE: this follows `undo-fu--checkpoint-update' so [keyboard-quit]
steps over
;; the checkpoint & the region is deactivated, as with any other count.
- ;; `undo-fu--backport-undo-redo-with-trim' & `undo' aren't called, as
they would
- ;; show a "Redo" message although nothing is redone, and may replace
- ;; `pending-undo-list' & `buffer-undo-list'.
+ ;; `undo' isn't called (when unconstrained), as it would show a message
+ ;; although nothing is redone, and may replace `pending-undo-list' &
`buffer-undo-list'.
t)
(t
(when undo-fu--respect