summaryrefslogtreecommitdiff
path: root/lisp/textmodes/artist.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-02-07 21:39:46 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-02-07 21:39:46 +0000
commite3fd4ebfb1e00ae024cf59cb9ba6165581ea9075 (patch)
tree9ef63606c79675e3853bd921927891be3324a411 /lisp/textmodes/artist.el
parente2a42dd50ee6bdfbd28277572782db9c7ffe512c (diff)
downloademacs-e3fd4ebfb1e00ae024cf59cb9ba6165581ea9075.tar.gz
(artist-system): Allow make-temp-file to use temporary-file-directory.
Diffstat (limited to 'lisp/textmodes/artist.el')
-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.
Return a list (RETURN-CODE STDOUT STDERR)."
(save-excursion
(let* ((tmp-stdin-file-name (if stdin
- (make-temp-file
- (concat (file-name-as-directory
- (or (getenv "TMPDIR") "/tmp"))
- "artist-stdin."))
+ (make-temp-file "artist-stdin.")
nil))
(tmp-stdout-buffer (get-buffer-create
(concat "*artist-" program "*")))
- (tmp-stderr-file-name (make-temp-file
- (concat (file-name-as-directory
- (or (getenv "TMPDIR") "/tmp"))
- "artist-stdout.")))
+ (tmp-stderr-file-name (make-temp-file "artist-stdout."))
(binary-process-input nil) ; for msdos
(binary-process-output nil))