From 862051236137801189ffd3b6e313ef7b71403e6a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Tue, 24 Aug 2021 15:57:07 +0200 Subject: [PATCH] ; * lisp/repeat.el (repeat-echo-message): Use `string-search`. --- lisp/repeat.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/repeat.el b/lisp/repeat.el index 054eacf8ec9..89488ddc98f 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-match-p "Repeat with " (current-message)) + (when (string-search "Repeat with " (current-message)) (message nil)))) (defvar repeat-echo-mode-line-string -- 2.39.2