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:
Dmitry Gutov 2019-05-03 01:52:05 +03:00
parent f2b395c4c5
commit 1cd4a5e5e5

View file

@ -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)))