; * lisp/repeat.el (repeat-echo-message): Use string-search.

This commit is contained in:
Mattias Engdegård 2021-08-24 15:57:07 +02:00
parent 0c640b82f0
commit 8620512361

View file

@ -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