From: Oleksandr Gavenko Date: Mon, 5 Sep 2011 09:55:11 +0000 (+0300) Subject: * lisp/progmodes/grep.el (rgrep): Add "-type d". X-Git-Tag: emacs-pretest-24.0.90~104^2~152^2~1^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=453de99fd02c2fff96d21f888f56c3dd0e61b08c;p=emacs.git * lisp/progmodes/grep.el (rgrep): Add "-type d". Fixes: debbugs:9414 --- 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