summaryrefslogtreecommitdiff
path: root/lisp/dired-aux.el
diff options
context:
space:
mode:
authorSam Steingold <sds@gnu.org>2018-07-09 09:29:09 -0400
committerSam Steingold <sds@gnu.org>2018-07-09 09:29:23 -0400
commit3307353e13a9226d477c9b1a39baae76584b90b9 (patch)
tree5bc0d68db406a44d639204f696c5e68286422f0a /lisp/dired-aux.el
parent9d09ced1d5d124893fbe9c176f821f6716e91392 (diff)
downloademacs-3307353e13a9226d477c9b1a39baae76584b90b9.tar.gz
dired-do-find-regexp: Use rgrep-find-ignored-directories.
Diffstat (limited to 'lisp/dired-aux.el')
-rw-r--r--lisp/dired-aux.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 0ef1777d168..925a7d50d6f 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -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)