diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2021-08-24 15:57:07 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2021-08-24 15:57:38 +0200 |
commit | 862051236137801189ffd3b6e313ef7b71403e6a (patch) | |
tree | e4419a5169f9d8346c28128f455918f1ce51a6d1 /lisp/repeat.el | |
parent | 0c640b82f0b3d9a06156a61af0aeec11a2f98ba0 (diff) | |
download | emacs-862051236137801189ffd3b6e313ef7b71403e6a.tar.gz |
; * lisp/repeat.el (repeat-echo-message): Use `string-search`.
Diffstat (limited to 'lisp/repeat.el')
-rw-r--r-- | lisp/repeat.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |