diff options
-rw-r--r-- | lisp/find-dired.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/find-dired.el b/lisp/find-dired.el index d07c983c1dc..4e86c792ab4 100644 --- a/lisp/find-dired.el +++ b/lisp/find-dired.el @@ -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) |