Commit f5568df0 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(command-line): Make small-temporary-file-directory

be nil except on ms-dos.
parent 312a9e03
......@@ -506,8 +506,7 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
(or (getenv "TMPDIR") (getenv "TMP") (getenv "TEMP") "/tmp")))))
(setq small-temporary-file-directory
(if (eq system-type 'ms-dos)
(getenv "TMPDIR")
temporary-file-directory))
(getenv "TMPDIR")))
;; See if we should import version-control from the environment variable.
(let ((vc (getenv "VERSION_CONTROL")))
......
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