From ff39e69ccd6fd617b14b05a60c2c98b6b3784b12 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 8 Mar 2002 09:35:44 +0000 Subject: [PATCH] (find-name-dired): Use shell-quote-argument. --- lisp/find-dired.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2