1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

(find-name-dired): Use shell-quote-argument.

This commit is contained in:
Richard M. Stallman 2002-03-08 09:35:44 +00:00
parent 007776bcc6
commit ff39e69ccd

View File

@ -159,7 +159,7 @@ The command run (after changing into DIR) is
find . -name 'PATTERN' -ls"
(interactive
"DFind-name (directory): \nsFind-name (filename wildcard): ")
(find-dired dir (concat "-name '" pattern "'")))
(find-dired dir (concat "-name '" (shell-quote-argument pattern) "'")))
;; This functionality suggested by
;; From: oblanc@watcgl.waterloo.edu (Olivier Blanc)