aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias EngdegÄrd2020-09-14 11:17:49 +0200
committerMattias EngdegÄrd2020-09-14 11:17:49 +0200
commitf66829e0f47a54a51fd1378acbf2b1085673790f (patch)
tree2381a2dd27542efb21e1cb4fc193a897d797730d
parent1c84b187abc3ca60ae1a93522ddbad5af6cfd595 (diff)
downloademacs-f66829e0f47a54a51fd1378acbf2b1085673790f.tar.gz
emacs-f66829e0f47a54a51fd1378acbf2b1085673790f.zip
* lisp/simple.el (undo-redo): Rephrase error message.
-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