aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/startup.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index d2b2afd57fe..cb8f0cef47e 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -504,6 +504,10 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
504 (or (getenv "TMPDIR") (getenv "TMP") (getenv "TEMP") "SYS$SCRATCH:")) 504 (or (getenv "TMPDIR") (getenv "TMP") (getenv "TEMP") "SYS$SCRATCH:"))
505 (t 505 (t
506 (or (getenv "TMPDIR") (getenv "TMP") (getenv "TEMP") "/tmp"))))) 506 (or (getenv "TMPDIR") (getenv "TMP") (getenv "TEMP") "/tmp")))))
507 (setq small-temporary-file-directory
508 (if (eq system-type 'ms-dos)
509 (getenv "TMPDIR")
510 temporary-file-directory))
507 511
508 ;; See if we should import version-control from the environment variable. 512 ;; See if we should import version-control from the environment variable.
509 (let ((vc (getenv "VERSION_CONTROL"))) 513 (let ((vc (getenv "VERSION_CONTROL")))