]> git.eshelyaron.com Git - emacs.git/commitdiff
(c-macro-expansion):
authorRichard M. Stallman <rms@gnu.org>
Sat, 16 May 1998 17:52:29 +0000 (17:52 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 16 May 1998 17:52:29 +0000 (17:52 +0000)
Use temporary-file-directory.  Choose temp file name properly.

lisp/progmodes/cmacexp.el

index 93ce065b6d59ccc5f3127ce5c099e7175019b098..82d90d6d5999cd71da372676b35496751a511dd6 100644 (file)
@@ -265,7 +265,9 @@ Optional arg DISPLAY non-nil means show messages in the echo area."
        (startstat ())
        (startmarker "")
        (exit-status 0)
-       (tempname (make-temp-name (file-name-directory system-tmp-directory))))
+       (tempname (make-temp-name
+                  (expand-file-name "cmacexp"
+                                    temporary-file-directory))))
     (unwind-protect
        (save-excursion
          (save-restriction