From: Gabriel do Nascimento Ribeiro Date: Mon, 23 Aug 2021 22:05:58 +0000 (-0300) Subject: Fix to clear echo-area after repeat-exit-timeout. X-Git-Tag: emacs-28.0.90~1329 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0c640b82f0b3d9a06156a61af0aeec11a2f98ba0;p=emacs.git 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). --- diff --git a/lisp/repeat.el b/lisp/repeat.el index cec3cb643a1..054eacf8ec9 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