From 453de99fd02c2fff96d21f888f56c3dd0e61b08c Mon Sep 17 00:00:00 2001 From: Oleksandr Gavenko Date: Mon, 5 Sep 2011 12:55:11 +0300 Subject: [PATCH] * lisp/progmodes/grep.el (rgrep): Add "-type d". Fixes: debbugs:9414 --- lisp/ChangeLog | 4 ++++ lisp/progmodes/grep.el | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 12b9ce29630..7a922e002d7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-09-05 Oleksandr Gavenko (tiny change) + + * progmodes/grep.el (rgrep): Add "-type d" (bug#9414). + 2011-09-05 Juri Linkov * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084). diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 8cb3c314faf..de46dc19169 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -989,7 +989,8 @@ This command shares argument histories with \\[lgrep] and \\[grep-find]." dir (concat (and grep-find-ignored-directories - (concat (shell-quote-argument "(") + (concat "-type d " + (shell-quote-argument "(") ;; we should use shell-quote-argument here " -path " (mapconcat -- 2.39.2