(find-name-dired): Don't quote pattern twice.
authorAndreas Schwab <schwab@suse.de>
Thu, 25 Apr 2002 16:30:49 +0000 (16:30 +0000)
committerAndreas Schwab <schwab@suse.de>
Thu, 25 Apr 2002 16:30:49 +0000 (16:30 +0000)
lisp/ChangeLog
lisp/find-dired.el

index 5d8cdb6..9815f43 100644 (file)
@@ -1,3 +1,7 @@
+2002-04-25  Andreas Schwab  <schwab@suse.de>
+
+       * find-dired.el (find-name-dired): Don't quote pattern twice.
+
 2002-04-26  Miles Bader  <miles@gnu.org>
 
        * cus-edit.el (customize-face, customize-face-other-window):
index 4e86c79..01d89fd 100644 (file)
@@ -1,6 +1,6 @@
 ;;; find-dired.el --- run a `find' command and dired the output
 
-;; Copyright (C) 1992, 1994, 1995, 2000 Free Software Foundation, Inc.
+;; Copyright (C) 1992, 1994, 1995, 2000, 2002 Free Software Foundation, Inc.
 
 ;; Author: Roland McGrath <roland@gnu.org>,
 ;;        Sebastian Kremer <sk@thp.uni-koeln.de>
@@ -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 '" (shell-quote-argument pattern) "'")))
+  (find-dired dir (concat "-name " (shell-quote-argument pattern))))
 
 ;; This functionality suggested by
 ;; From: oblanc@watcgl.waterloo.edu (Olivier Blanc)