diff options
author | Richard M. Stallman <rms@gnu.org> | 1998-05-16 03:44:02 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1998-05-16 03:44:02 +0000 |
commit | 84195ec4254fde74ce852077fdfd140326f602da (patch) | |
tree | 58b009ca15ce1f10f8d96e3f779aa1f978c5dc0e /lisp/progmodes/cmacexp.el | |
parent | 7b559d168fcb75d3d86f12f321059fe656c4cac2 (diff) | |
download | emacs-84195ec4254fde74ce852077fdfd140326f602da.tar.gz |
(c-macro-expansion): Use system-tmp-directory.
Diffstat (limited to 'lisp/progmodes/cmacexp.el')
-rw-r--r-- | lisp/progmodes/cmacexp.el | 5 |
1 files changed, 1 insertions, 4 deletions
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 |