1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* lisp/simple.el (undo-redo): Rephrase error message.

This commit is contained in:
Mattias Engdegård 2020-09-14 11:17:49 +02:00
parent 1c84b187ab
commit f66829e0f4

View file

@ -2755,7 +2755,7 @@ Interactively, ARG is the prefix numeric argument and defaults to 1."
(interactive "*p")
(cond
((not (undo--last-change-was-undo-p buffer-undo-list))
(user-error "No undo to undo"))
(user-error "No undone changes to redo"))
(t
(let* ((ul buffer-undo-list)
(new-ul