Mercurial > emacs
changeset 43643:54f8be735591
(find-grep-dired): Call shell-quote-argument. Specify the -e option.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 03 Mar 2002 00:34:32 +0000 |
parents | bfd9fa0143d9 |
children | 6046fb03f1af |
files | lisp/find-dired.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/find-dired.el Sun Mar 03 00:31:22 2002 +0000 +++ b/lisp/find-dired.el Sun Mar 03 00:34:32 2002 +0000 @@ -183,7 +183,8 @@ ;; by FIFOs and devices. I'm not sure what's best to do ;; about symlinks, so as far as I know this is not wrong. (find-dired dir - (concat "-type f -exec grep " find-grep-options " " + (concat "-type f -exec grep " find-grep-options " -e " + (shell-quote-argument args) args " {} \\\; "))) (defun find-dired-filter (proc string)