]> git.eshelyaron.com Git - emacs.git/commitdiff
(direct-print-region-helper): Use temporary-file-directory.
authorEli Zaretskii <eliz@gnu.org>
Thu, 2 Sep 1999 11:51:42 +0000 (11:51 +0000)
committerEli Zaretskii <eliz@gnu.org>
Thu, 2 Sep 1999 11:51:42 +0000 (11:51 +0000)
lisp/dos-w32.el

index 8e3e7862520fe28bacd570d9786e1a2dec0d2182..3fb8a83b2809cfb54f8ca935c79e9bc691ded0ef 100644 (file)
@@ -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