all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#36212: [PATCH] make undo less enthusiastic
@ 2019-06-14 18:21 Alex Branham
  2019-06-15  9:47 ` Mattias Engdegård
  2019-06-21  8:54 ` Noam Postavsky
  0 siblings, 2 replies; 4+ messages in thread
From: Alex Branham @ 2019-06-14 18:21 UTC (permalink / raw
  To: 36212

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

This is really minor, but I find it annoying that undo is so
enthusiastic in its messaging. This patch removes the exclamation mark,
which makes undo's messaging more similar to other functions messaging
(e.g. C-g, C-SPC, etc).

Alex


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-simple.el-undo-Make-message-less-enthusiastic.patch --]
[-- Type: text/x-patch, Size: 912 bytes --]

From 5165b92810a29ea409b0dd92179b3599112e1f4e Mon Sep 17 00:00:00 2001
From: Alex Branham <alex.branham@gmail.com>
Date: Fri, 14 Jun 2019 10:00:29 -0500
Subject: [PATCH] * lisp/simple.el (undo): Make message less enthusiastic

---
 lisp/simple.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/simple.el b/lisp/simple.el
index 5e9d13f9f8..d9f310b203 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2530,7 +2530,7 @@ undo
     ;; 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" ""))))
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-28  0:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-14 18:21 bug#36212: [PATCH] make undo less enthusiastic Alex Branham
2019-06-15  9:47 ` Mattias Engdegård
2019-06-21  8:54 ` Noam Postavsky
2019-06-28  0:58   ` Alex Branham

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.