comparison lisp/progmodes/ps-mode.el @ 43684:4111d9e8065d

(ps-run-make-tmp-filename): Use make-temp-file.
author Richard M. Stallman <rms@gnu.org>
date Sun, 03 Mar 2002 22:21:08 +0000
parents f2a856e8a39c
children 0910a521766a d7ddb3e565de
comparison
equal deleted inserted replaced
43683:fc8f970acda0 43684:4111d9e8065d
1123 (unless (file-directory-p ps-run-tmp-dir) 1123 (unless (file-directory-p ps-run-tmp-dir)
1124 (setq ps-run-tmp-dir nil)))) 1124 (setq ps-run-tmp-dir nil))))
1125 (unless ps-run-tmp-dir 1125 (unless ps-run-tmp-dir
1126 (setq ps-run-tmp-dir "/tmp")) 1126 (setq ps-run-tmp-dir "/tmp"))
1127 (setq ps-mode-tmp-file 1127 (setq ps-mode-tmp-file
1128 (make-temp-name 1128 (make-temp-file
1129 (concat 1129 (concat
1130 (if ps-run-tmp-dir 1130 (if ps-run-tmp-dir
1131 (file-name-as-directory ps-run-tmp-dir) 1131 (file-name-as-directory ps-run-tmp-dir)
1132 "") 1132 "")
1133 "ps-run-")))) 1133 "ps-run-"))))