mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-14 16:50:58 +00:00
dired-do-find-regexp: Use rgrep-find-ignored-directories.
This commit is contained in:
parent
9d09ced1d5
commit
3307353e13
@ -2856,11 +2856,11 @@ REGEXP should use constructs supported by your local `grep' command."
|
||||
(interactive "sSearch marked files (regexp): ")
|
||||
(require 'grep)
|
||||
(defvar grep-find-ignored-files)
|
||||
(defvar grep-find-ignored-directories)
|
||||
(declare-function rgrep-find-ignored-directories "grep" (dir))
|
||||
(let* ((files (dired-get-marked-files nil nil nil nil t))
|
||||
(ignores (nconc (mapcar
|
||||
(lambda (s) (concat s "/"))
|
||||
grep-find-ignored-directories)
|
||||
(rgrep-find-ignored-directories default-directory))
|
||||
grep-find-ignored-files))
|
||||
(xrefs (mapcan
|
||||
(lambda (file)
|
||||
|
Loading…
Reference in New Issue
Block a user