changeset 73190:181f8fa16272

(undo-more): When undo information for the region is exhausted, say "No further undo information FOR REGION".
author Eli Zaretskii <eliz@gnu.org>
date Sat, 30 Sep 2006 09:49:26 +0000
parents 20b963c49703
children 896cf485f027
files lisp/simple.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Sat Sep 30 09:39:35 2006 +0000
+++ b/lisp/simple.el	Sat Sep 30 09:49:26 2006 +0000
@@ -1501,8 +1501,7 @@
 then call `undo-more' one or more times to undo them."
   (or (listp pending-undo-list)
       (error (concat "No further undo information"
-                     (and transient-mark-mode mark-active
-                          " for region"))))
+		     (and undo-in-region " for region"))))
   (let ((undo-in-progress t))
     (setq pending-undo-list (primitive-undo n pending-undo-list))
     (if (null pending-undo-list)