Don't set prefix-arg when delegating to ivy/helm from +default/search-project
The prefix arg for +default/search-project is intended to enable the user to pick search location, however when it propagates to the ivy search function it turns on the "search ignored files" functionality, which us typically not intended and, furthermore, can be (if desired) turned on simply by typing the search command in, for exampe, counsel-rg's case as `-uu -- mysearchterm`
This commit is contained in:
parent
7ac688dcd6
commit
8dd55901c3
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ If prefix ARG is set, prompt for a known project to search from."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(let* ((projectile-project-root nil)
|
(let* ((projectile-project-root nil)
|
||||||
(disabled-command-function nil)
|
(disabled-command-function nil)
|
||||||
|
(current-prefix-arg nil)
|
||||||
(default-directory
|
(default-directory
|
||||||
(if arg
|
(if arg
|
||||||
(if-let (projects (projectile-relevant-known-projects))
|
(if-let (projects (projectile-relevant-known-projects))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue