diff lisp/dos-w32.el @ 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 76764b2157af
children 89a8ac5aa753
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