branch: elpa/undo-fu
commit 25e25ec4dfccfbae4e8a858a75eb2f6d03134239
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
Cleanup: typos
---
undo-fu.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/undo-fu.el b/undo-fu.el
index 8a725171f6..2e1f27e402 100644
--- a/undo-fu.el
+++ b/undo-fu.el
@@ -74,7 +74,7 @@ Instead, explicitly call `undo-fu-disable-checkpoint'."
;; Only use when `undo-fu-allow-undo-in-region' is true.
(defvar-local undo-fu--in-region nil)
;; Track the last undo/redo direction.
-;; Use in conjunction with `undo-fu--was-undo-or-redo'.
+;; Use in conjunction with `undo-fu--was-undo-or-redo' to ensure the value
isn't stale.
(defvar-local undo-fu--was-redo nil)
;; ---------------------------------------------------------------------------
@@ -139,7 +139,7 @@ Returns the number of steps to reach this list or
COUNT-LIMIT."
"Count the number of redo steps until a previously stored step.
Argument LIST-TO-FIND count the steps up until this undo step.
-Argument COUNT-LIMIT don't count past his value.
+Argument COUNT-LIMIT don't count past this value.
Argument WAS-UNDO when non-nil,
prevents the `pending-undo-list' from being used.
@@ -177,7 +177,6 @@ to perform unconstrained undo/redo actions."
(undo-fu--checkpoint-disable))
-
;;;###autoload
(defun undo-fu-only-redo-all ()
"Redo all actions until the initial undo step.