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:
parent
f867f9971d
commit
49a2697c1e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user