changeset 25482:f1d437596538

(direct-print-region-helper): Use temporary-file-directory.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 02 Sep 1999 11:51:42 +0000
parents f26b378dc6a2
children cd1649a27c08
files lisp/dos-w32.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dos-w32.el	Thu Sep 02 04:48:09 1999 +0000
+++ b/lisp/dos-w32.el	Thu Sep 02 11:51:42 1999 +0000
@@ -279,7 +279,7 @@
 	  (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