summaryrefslogtreecommitdiff
path: root/lisp/dos-w32.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>1999-09-02 11:51:42 +0000
committerEli Zaretskii <eliz@gnu.org>1999-09-02 11:51:42 +0000
commitb046ee9f70ed6b5b21073654da48b243c4bfeaa6 (patch)
tree0022d9c9ad91714383d9377db781503950735135 /lisp/dos-w32.el
parent6f9a5d90c62f52a55861578bbd851e9a4fc2a146 (diff)
downloademacs-b046ee9f70ed6b5b21073654da48b243c4bfeaa6.tar.gz
(direct-print-region-helper): Use temporary-file-directory.
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