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

(file-cache-add-directory-using-find):

Only test file-cache-find-command-posix-flag on some systems.
parent ca0eea29
......@@ -345,13 +345,11 @@ Find is run in DIRECTORY."
(call-process file-cache-find-command nil
(get-buffer file-cache-buffer) nil
dir "-name"
(cond
(file-cache-find-command-posix-flag
"\\*")
((eq system-type 'windows-nt)
"'*'")
(t
"*"))
(if (memq system-type '(windows-nt cygwin))
(if file-cache-find-command-posix-flag
"\\*"
"'*'")
"*")
"-print")
(file-cache-add-from-file-cache-buffer)))
......
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