summaryrefslogtreecommitdiff
path: root/lisp/dos-w32.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/dos-w32.el')
-rw-r--r--lisp/dos-w32.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dos-w32.el b/lisp/dos-w32.el
index 8e3e7862520..3fb8a83b280 100644
--- a/lisp/dos-w32.el
+++ b/lisp/dos-w32.el
@@ -279,7 +279,7 @@ filesystem mounted on drive Z:, FILESYSTEM could be \"Z:\"."
(subst-char-in-string
?/ ?\\
(make-temp-name
- (expand-file-name "EP" (getenv "TMPDIR")))))
+ (expand-file-name "EP" temporary-file-directory))))
;; capture output for diagnosis
(errbuf (list (get-buffer-create " *print-region-helper*") t)))
;; It seems that we must be careful about the directory name that