summaryrefslogtreecommitdiff
path: root/cider-test.el
diff options
context:
space:
mode:
authorSyohei YOSHIDA <syohex@gmail.com>2015-04-22 16:12:08 +0900
committerSyohei YOSHIDA <syohex@gmail.com>2015-04-22 16:12:08 +0900
commitb7d0b16a480d6dddec71f029f8057c69590ac571 (patch)
tree50736b22552d489fcf29541c29593313427c76d6 /cider-test.el
parent1c8fb7edc4a2c670720266d12630de9709844fbf (diff)
Use string-match-p/looking-at-p as possible
Diffstat (limited to 'cider-test.el')
-rw-r--r--cider-test.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-test.el b/cider-test.el
index f55aac16..b5ffa170 100644
--- a/cider-test.el
+++ b/cider-test.el
@@ -401,7 +401,7 @@ This uses the Leiningen convention of appending '-test' to the namespace name."
(when ns
(let ((suffix "-test"))
;; string-suffix-p is only available in Emacs 24.4+
- (if (string-match (rx-to-string `(: ,suffix eos) t) ns)
+ (if (string-match-p (rx-to-string `(: ,suffix eos) t) ns)
ns
(concat ns suffix)))))