From: Alex Branham Date: Fri, 14 Jun 2019 15:00:29 +0000 (-0500) Subject: * lisp/simple.el (undo): Make message less enthusiastic X-Git-Tag: emacs-27.0.90~2171 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb182ce6f8d2fa6e1509252fecc2b0e504e36d63;p=emacs.git * lisp/simple.el (undo): Make message less enthusiastic --- diff --git a/lisp/simple.el b/lisp/simple.el index 5ef5d3dc2ea..766cb017b7d 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2530,7 +2530,7 @@ as an argument limits undo to changes within the current region." ;; so, ask the user whether she wants to skip the redo/undo pair. (let ((equiv (gethash pending-undo-list undo-equiv-table))) (or (eq (selected-window) (minibuffer-window)) - (setq message (format "%s%s!" + (setq message (format "%s%s" (if (or undo-no-redo (not equiv)) "Undo" "Redo") (if undo-in-region " in region" ""))))