aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/simple.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index b00f6bba06d..6ef327ba401 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2755,7 +2755,7 @@ Interactively, ARG is the prefix numeric argument and defaults to 1."
2755 (interactive "*p") 2755 (interactive "*p")
2756 (cond 2756 (cond
2757 ((not (undo--last-change-was-undo-p buffer-undo-list)) 2757 ((not (undo--last-change-was-undo-p buffer-undo-list))
2758 (user-error "No undo to undo")) 2758 (user-error "No undone changes to redo"))
2759 (t 2759 (t
2760 (let* ((ul buffer-undo-list) 2760 (let* ((ul buffer-undo-list)
2761 (new-ul 2761 (new-ul