aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-02-07 21:39:46 +0000
committerChong Yidong2009-02-07 21:39:46 +0000
commite3fd4ebfb1e00ae024cf59cb9ba6165581ea9075 (patch)
tree9ef63606c79675e3853bd921927891be3324a411
parente2a42dd50ee6bdfbd28277572782db9c7ffe512c (diff)
downloademacs-e3fd4ebfb1e00ae024cf59cb9ba6165581ea9075.tar.gz
emacs-e3fd4ebfb1e00ae024cf59cb9ba6165581ea9075.zip
(artist-system): Allow make-temp-file to use temporary-file-directory.
-rw-r--r--lisp/textmodes/artist.el10
1 files changed, 2 insertions, 8 deletions
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el
index 46b81efb8b6..6920b18045c 100644
--- a/lisp/textmodes/artist.el
+++ b/lisp/textmodes/artist.el
@@ -1813,17 +1813,11 @@ Optional args PROGRAM-ARGS are arguments to PROGRAM.
1813Return a list (RETURN-CODE STDOUT STDERR)." 1813Return a list (RETURN-CODE STDOUT STDERR)."
1814 (save-excursion 1814 (save-excursion
1815 (let* ((tmp-stdin-file-name (if stdin 1815 (let* ((tmp-stdin-file-name (if stdin
1816 (make-temp-file 1816 (make-temp-file "artist-stdin.")
1817 (concat (file-name-as-directory
1818 (or (getenv "TMPDIR") "/tmp"))
1819 "artist-stdin."))
1820 nil)) 1817 nil))
1821 (tmp-stdout-buffer (get-buffer-create 1818 (tmp-stdout-buffer (get-buffer-create
1822 (concat "*artist-" program "*"))) 1819 (concat "*artist-" program "*")))
1823 (tmp-stderr-file-name (make-temp-file 1820 (tmp-stderr-file-name (make-temp-file "artist-stdout."))
1824 (concat (file-name-as-directory
1825 (or (getenv "TMPDIR") "/tmp"))
1826 "artist-stdout.")))
1827 (binary-process-input nil) ; for msdos 1821 (binary-process-input nil) ; for msdos
1828 (binary-process-output nil)) 1822 (binary-process-output nil))
1829 1823