From fc416240b90c934fa530444202627fcb79688169 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 16 May 1998 17:52:29 +0000 Subject: [PATCH] (c-macro-expansion): Use temporary-file-directory. Choose temp file name properly. --- lisp/progmodes/cmacexp.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/cmacexp.el b/lisp/progmodes/cmacexp.el index 93ce065b6d5..82d90d6d599 100644 --- a/lisp/progmodes/cmacexp.el +++ b/lisp/progmodes/cmacexp.el @@ -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 -- 2.39.2