[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0c640b8: Fix to clear echo-area after repeat-exit-timeout.
From: |
Juri Linkov |
Subject: |
master 0c640b8: Fix to clear echo-area after repeat-exit-timeout. |
Date: |
Tue, 24 Aug 2021 02:44:35 -0400 (EDT) |
branch: master
commit 0c640b82f0b3d9a06156a61af0aeec11a2f98ba0
Author: Gabriel do Nascimento Ribeiro <gabriel376@hotmail.com>
Commit: Juri Linkov <juri@linkov.net>
Fix to clear echo-area after repeat-exit-timeout.
* lisp/repeat.el (repeat-echo-message): Use 'string-match-p'
to handle cases where echo-area contains other messages (bug#50176).
---
lisp/repeat.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/repeat.el b/lisp/repeat.el
index cec3cb6..054eacf 100644
--- a/lisp/repeat.el
+++ b/lisp/repeat.el
@@ -474,7 +474,7 @@ When Repeat mode is enabled, and the command symbol has the
property named
(if (current-message)
(message "%s [%s]" (current-message) mess)
(message mess)))
- (when (string-prefix-p "Repeat with " (current-message))
+ (when (string-match-p "Repeat with " (current-message))
(message nil))))
(defvar repeat-echo-mode-line-string
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 0c640b8: Fix to clear echo-area after repeat-exit-timeout.,
Juri Linkov <=