From: Dmitry Gutov Date: Thu, 2 May 2019 22:52:05 +0000 (+0300) Subject: Allow project-find-regexp'ing inside an ignored dir X-Git-Tag: emacs-27.0.90~3012 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1cd4a5e5e5db5dc26e279002f3a718e190bcec0c;p=emacs.git 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). --- diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 11a2ef40094..7c8ca15868e 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -355,7 +355,7 @@ requires quoting, e.g. `\\[quoted-insert]'." (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)))