]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/simple.el (undo-redo): Rephrase error message.
authorMattias Engdegård <mattiase@acm.org>
Mon, 14 Sep 2020 09:17:49 +0000 (11:17 +0200)
committerMattias Engdegård <mattiase@acm.org>
Mon, 14 Sep 2020 09:17:49 +0000 (11:17 +0200)
lisp/simple.el

index b00f6bba06daa62e5165b86f2898505797de833b..6ef327ba401afe43ece4e0bae94e7bb421644e2c 100644 (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