aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleksandr Gavenko2011-09-05 12:55:11 +0300
committerJuri Linkov2011-09-05 12:55:11 +0300
commit453de99fd02c2fff96d21f888f56c3dd0e61b08c (patch)
tree172f784927d8e9351bfc2788d5c8195aa5b1e28d
parent904399061f928283c863953b55dade3ee21c9d49 (diff)
downloademacs-453de99fd02c2fff96d21f888f56c3dd0e61b08c.tar.gz
emacs-453de99fd02c2fff96d21f888f56c3dd0e61b08c.zip
* lisp/progmodes/grep.el (rgrep): Add "-type d".
Fixes: debbugs:9414
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/progmodes/grep.el3
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 12b9ce29630..7a922e002d7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2
3 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4
12011-09-05 Juri Linkov <juri@jurta.org> 52011-09-05 Juri Linkov <juri@jurta.org>
2 6
3 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084). 7 * 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]."
989 dir 989 dir
990 (concat 990 (concat
991 (and grep-find-ignored-directories 991 (and grep-find-ignored-directories
992 (concat (shell-quote-argument "(") 992 (concat "-type d "
993 (shell-quote-argument "(")
993 ;; we should use shell-quote-argument here 994 ;; we should use shell-quote-argument here
994 " -path " 995 " -path "
995 (mapconcat 996 (mapconcat