emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 8620512: ; * lisp/repeat.el (repeat-echo-message): Use `string-se


From: Mattias Engdegård
Subject: master 8620512: ; * lisp/repeat.el (repeat-echo-message): Use `string-search`.
Date: Tue, 24 Aug 2021 09:57:53 -0400 (EDT)

branch: master
commit 862051236137801189ffd3b6e313ef7b71403e6a
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    ; * 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 054eacf..89488dd 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]