]> code.delx.au - gnu-emacs/commitdiff
(file-cache-add-directory-using-find): Don't quote wildcards on MS-DOS.
authorPeter Breton <pbreton@attbi.com>
Thu, 31 Aug 2000 23:45:43 +0000 (23:45 +0000)
committerPeter Breton <pbreton@attbi.com>
Thu, 31 Aug 2000 23:45:43 +0000 (23:45 +0000)
Suggested by Eli Zaretskii <eliz@is.elta.co.il>.

lisp/filecache.el

index 5af516179c530951bf3d68a3af1217ead9c86460..c21b93ba7110187d5bebfa6ac0f3685f5e6c37a6 100644 (file)
@@ -3,7 +3,7 @@
 ;; Author:  Peter Breton <pbreton@cs.umb.edu>
 ;; Created: Sun Nov 10 1996
 ;; Keywords: convenience
-;; Time-stamp: <2000-08-28 16:18:03 pbreton>
+;; Time-stamp: <2000-08-31 19:44:13 pbreton>
 ;;
 ;; Copyright (C) 1996 Free Software Foundation, Inc.
 
@@ -324,8 +324,7 @@ Find is run in DIRECTORY."
     (call-process file-cache-find-command nil
                  (get-buffer file-cache-buffer) nil
                  dir "-name"
-                 (if (memq system-type
-                           (list 'windows-nt 'ms-dos)) "'*'" "*")
+                 (if (eq system-type 'windows-nt) "'*'" "*")
                  "-print")
     (file-cache-add-from-file-cache-buffer)))