aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-05-16 03:44:02 +0000
committerRichard M. Stallman1998-05-16 03:44:02 +0000
commit84195ec4254fde74ce852077fdfd140326f602da (patch)
tree58b009ca15ce1f10f8d96e3f779aa1f978c5dc0e
parent7b559d168fcb75d3d86f12f321059fe656c4cac2 (diff)
downloademacs-84195ec4254fde74ce852077fdfd140326f602da.tar.gz
emacs-84195ec4254fde74ce852077fdfd140326f602da.zip
(c-macro-expansion): Use system-tmp-directory.
-rw-r--r--lisp/progmodes/cmacexp.el5
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."
265 (startstat ()) 265 (startstat ())
266 (startmarker "") 266 (startmarker "")
267 (exit-status 0) 267 (exit-status 0)
268 (tempname (make-temp-name (concat 268 (tempname (make-temp-name (file-name-directory system-tmp-directory))))
269 (or (getenv "TMPDIR") (getenv "TEMP")
270 (getenv "TMP") "/tmp")
271 "/"))))
272 (unwind-protect 269 (unwind-protect
273 (save-excursion 270 (save-excursion
274 (save-restriction 271 (save-restriction