summaryrefslogtreecommitdiff
path: root/cider-selector.el
diff options
context:
space:
mode:
Diffstat (limited to 'cider-selector.el')
-rw-r--r--cider-selector.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-selector.el b/cider-selector.el
index 9c77f658..162e3a6a 100644
--- a/cider-selector.el
+++ b/cider-selector.el
@@ -50,7 +50,7 @@ DESCRIPTION is a one-line description of what the key selects.")
Only considers buffers that are not already visible."
(cl-loop for buffer in (buffer-list)
when (and (with-current-buffer buffer (eq major-mode mode))
- (not (string-match "^ " (buffer-name buffer)))
+ (not (string-match-p "^ " (buffer-name buffer)))
(null (get-buffer-window buffer 'visible)))
return buffer
finally (error "Can't find unshown buffer in %S" mode)))