emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/undo-fu-session 2424ad50ff 04/53: Use 'string-match-p' to


From: ELPA Syncer
Subject: [nongnu] elpa/undo-fu-session 2424ad50ff 04/53: Use 'string-match-p' to avoid changing match data
Date: Thu, 7 Jul 2022 12:05:14 -0400 (EDT)

branch: elpa/undo-fu-session
commit 2424ad50ff8e3255b12b30080438ed31a0120afe
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Use 'string-match-p' to avoid changing match data
---
 undo-fu-session.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/undo-fu-session.el b/undo-fu-session.el
index 744ce456bd..e47e276a5c 100644
--- a/undo-fu-session.el
+++ b/undo-fu-session.el
@@ -294,7 +294,7 @@ Argument PENDING-LIST an `pending-undo-list'. compatible 
list."
     (dolist (matcher test-files)
       (when
         (if (stringp matcher)
-          (string-match matcher filename)
+          (string-match-p matcher filename)
           (funcall matcher filename))
         (throw 'found t)))))
 



reply via email to

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