# HG changeset patch # User Richard M. Stallman # Date 1015115672 0 # Node ID 54f8be73559132d3d0483a606a0679049e462ead # Parent bfd9fa0143d9f45e7ced1e6158a1dc48ccbe35b8 (find-grep-dired): Call shell-quote-argument. Specify the -e option. diff -r bfd9fa0143d9 -r 54f8be735591 lisp/find-dired.el --- 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)