branch: externals/consult commit e201af1404097c1cb6ef36bd250e81269e0cfb71 Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@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))))))))