Commit 49a2697c authored by Wolfgang Jenkner's avatar Wolfgang Jenkner Committed by Lars Magne Ingebrigtsen
Browse files

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
parent f867f997
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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment