changeset 22091:87994c0c7908

(c-macro-expansion): Use system-tmp-directory.
author Richard M. Stallman <rms@gnu.org>
date Sat, 16 May 1998 03:44:02 +0000
parents 0072d85ea09a
children 3ce96ca84d68
files lisp/progmodes/cmacexp.el
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cmacexp.el	Sat May 16 03:43:44 1998 +0000
+++ b/lisp/progmodes/cmacexp.el	Sat May 16 03:44:02 1998 +0000
@@ -265,10 +265,7 @@
 	(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