changeset 22101:afd304707d2e

(c-macro-expansion): Use temporary-file-directory. Choose temp file name properly.
author Richard M. Stallman <rms@gnu.org>
date Sat, 16 May 1998 17:52:29 +0000
parents eb3f36cc775f
children a56ece8d806e
files lisp/progmodes/cmacexp.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cmacexp.el	Sat May 16 17:50:00 1998 +0000
+++ b/lisp/progmodes/cmacexp.el	Sat May 16 17:52:29 1998 +0000
@@ -265,7 +265,9 @@
 	(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