1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(c-macro-expansion): Use system-tmp-directory.

This commit is contained in:
Richard M. Stallman 1998-05-16 03:44:02 +00:00
parent 7b559d168f
commit 84195ec425

View file

@ -265,10 +265,7 @@ Optional arg DISPLAY non-nil means show messages in the echo area."
(startstat ())
(startmarker "")
(exit-status 0)
(tempname (make-temp-name (concat
(or (getenv "TMPDIR") (getenv "TEMP")
(getenv "TMP") "/tmp")
"/"))))
(tempname (make-temp-name (file-name-directory system-tmp-directory))))
(unwind-protect
(save-excursion
(save-restriction