Commit ff39e69c authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

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

parent 007776bc
......@@ -159,7 +159,7 @@ The command run (after changing into DIR) is
find . -name 'PATTERN' -ls"
"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: (Olivier Blanc)
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