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

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

[elpa] externals/transient 22ef906b5a 07/19: Use string-search instead o


From: Jonas Bernoulli
Subject: [elpa] externals/transient 22ef906b5a 07/19: Use string-search instead of string-match-p
Date: Mon, 2 May 2022 05:08:25 -0400 (EDT)

branch: externals/transient
commit 22ef906b5a982cd5e9565104f42bc6f655af0e82
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Use string-search instead of string-match-p
---
 lisp/transient.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index 30a1a224b1..f73787e5e6 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -3422,7 +3422,7 @@ Optional support for popup buttons is also implemented 
here."
               ;; the definition, then we want to drop the space that
               ;; is reinserted above.  False-positives are possible
               ;; for silly bindings like "-C-c C-c".
-              (unless (string-match-p " " key)
+              (unless (string-search " " key)
                 (setq pre (string-replace " " "" pre))
                 (setq suf (string-replace " " "" suf)))
               (concat (propertize pre 'face 'transient-unreachable-key)



reply via email to

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