Mercurial > emacs
changeset 43685:498bad2aca78
(artist-system): Use make-temp-file.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 03 Mar 2002 22:22:42 +0000 |
parents | 4111d9e8065d |
children | 4dacabf9ff3e |
files | lisp/textmodes/artist.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/artist.el Sun Mar 03 22:21:08 2002 +0000 +++ b/lisp/textmodes/artist.el Sun Mar 03 22:22:42 2002 +0000 @@ -1773,14 +1773,14 @@ Return a list (RETURN-CODE STDOUT STDERR)." (save-excursion (let* ((tmp-stdin-file-name (if stdin - (make-temp-name + (make-temp-file (concat (file-name-as-directory (or (getenv "TMPDIR") "/tmp")) "artist-stdin.")) nil)) (tmp-stdout-buffer (get-buffer-create (concat "*artist-" program "*"))) - (tmp-stderr-file-name (make-temp-name + (tmp-stderr-file-name (make-temp-file (concat (file-name-as-directory (or (getenv "TMPDIR") "/tmp")) "artist-stdout.")))