[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/consult e201af1404 2/4: consult-fd: Always add --and in
From: |
ELPA Syncer |
Subject: |
[elpa] externals/consult e201af1404 2/4: consult-fd: Always add --and in front of pattern |
Date: |
Thu, 16 May 2024 18:57:39 -0400 (EDT) |
branch: externals/consult
commit e201af1404097c1cb6ef36bd250e81269e0cfb71
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
consult-fd: Always add --and in front of pattern
Avoid confusion with options.
---
consult.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/consult.el b/consult.el
index ae43060178..f4c0fc1e72 100644
--- a/consult.el
+++ b/consult.el
@@ -5039,7 +5039,7 @@ regarding the asynchronous search and the arguments."
(pcase-let ((`(,re . ,hl) (funcall consult--regexp-compiler arg
'pcre ignore-case)))
(when re
(cons (append cmd
- (cdr (mapcan (lambda (x) `("--and" ,x)) re))
+ (mapcan (lambda (x) `("--and" ,x)) re)
opts paths)
hl))))))))