Allow project-find-regexp'ing inside an ignored dir
* lisp/progmodes/project.el (project-find-regexp): Don't pass project's ignores to project--files-in-directory. The FILES glob should be enough, and we don't want to prohibit searching inside ignored directories this way (it can be counter-intuitive).
This commit is contained in:
parent
f2b395c4c5
commit
1cd4a5e5e5
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ requires quoting, e.g. `\\[quoted-insert]<space>'."
|
|||
(let ((dir (read-directory-name "Base directory: "
|
||||
nil default-directory t)))
|
||||
(project--files-in-directory dir
|
||||
(project--dir-ignores pr dir)
|
||||
nil
|
||||
(grep-read-files regexp))))))
|
||||
(project--find-regexp-in-files regexp files)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue