1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00

rgrep ignored file tweak

* lisp/progmodes/grep.el (rgrep): Tweak the find command line so
that directories matching `grep-find-ignored-files' won't be
pruned.

Fixes: debbugs:10351
This commit is contained in:
Wolfgang Jenkner 2012-04-11 13:39:35 +02:00 committed by Lars Magne Ingebrigtsen
parent f867f9971d
commit 49a2697c1e
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-12-20 Wolfgang Jenkner <wjenkner@inode.at>
* lisp/progmodes/grep.el (rgrep): Tweak the find command line so
that directories matching `grep-find-ignored-files' won't be
pruned (bug#10351).
2012-04-11 Chong Yidong <cyd@gnu.org>
* startup.el (command-line): Remove support for long-obsolete

View File

@ -1024,7 +1024,8 @@ to specify a command to run."
(shell-quote-argument ")")
" -prune -o "))
(and grep-find-ignored-files
(concat (shell-quote-argument "(")
(concat (shell-quote-argument "!") " -type d "
(shell-quote-argument "(")
;; we should use shell-quote-argument here
" -name "
(mapconcat