]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/grep.el (rgrep): Add "-type d".
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 5 Sep 2011 09:55:11 +0000 (12:55 +0300)
committerJuri Linkov <juri@jurta.org>
Mon, 5 Sep 2011 09:55:11 +0000 (12:55 +0300)
Fixes: debbugs:9414
lisp/ChangeLog
lisp/progmodes/grep.el

index 12b9ce29630633067c2e9a97a092f02a9be7ef0a..7a922e002d7613acc51531a9242acf65abd8698a 100644 (file)
@@ -1,3 +1,7 @@
+2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
+
+       * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
+
 2011-09-05  Juri Linkov  <juri@jurta.org>
 
        * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
index 8cb3c314faf7131fe0c61a9446afb8a34bdd2b2f..de46dc19169edbfa0c5992cf964e8cfc849aaa89 100644 (file)
@@ -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