From: Richard M. Stallman Date: Sat, 16 May 1998 03:44:02 +0000 (+0000) Subject: (c-macro-expansion): Use system-tmp-directory. X-Git-Tag: emacs-20.3~986 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=84195ec4254fde74ce852077fdfd140326f602da;p=emacs.git (c-macro-expansion): Use system-tmp-directory. --- diff --git a/lisp/progmodes/cmacexp.el b/lisp/progmodes/cmacexp.el index 7087f9e1cf0..93ce065b6d5 100644 --- a/lisp/progmodes/cmacexp.el +++ b/lisp/progmodes/cmacexp.el @@ -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