aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--projectile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/projectile.el b/projectile.el
index 6c833af..be6dd16 100644
--- a/projectile.el
+++ b/projectile.el
@@ -2503,7 +2503,7 @@ With a prefix arg INVALIDATE-CACHE invalidates the cache first."
(files (if file
(seq-filter
(lambda (project-file)
- (string-match file project-file))
+ (string-search file project-file))
project-files)
nil)))
files))