From 84195ec4254fde74ce852077fdfd140326f602da Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 16 May 1998 03:44:02 +0000 Subject: [PATCH] (c-macro-expansion): Use system-tmp-directory. --- lisp/progmodes/cmacexp.el | 5 +---- 1 file changed, 1 insertion(+), 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." (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 -- 2.39.2