(c-macro-expansion): Use system-tmp-directory.
authorRichard M. Stallman <rms@gnu.org>
Sat, 16 May 1998 03:44:02 +0000 (03:44 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 16 May 1998 03:44:02 +0000 (03:44 +0000)
lisp/progmodes/cmacexp.el

index 7087f9e..93ce065 100644 (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