aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>1999-09-02 12:38:02 +0000
committerEli Zaretskii <[email protected]>1999-09-02 12:38:02 +0000
commit77f907112826ea2489e860596f0fbca9067f18da (patch)
treeb85f3214f0ca79cb13d945c2a7f04c4754c16eeb
parent659cb92874e24a7e8b187e5df8957349fc38022f (diff)
(c-macro-expansion): Use small-temporary-file-directory when non-nil.
-rw-r--r--lisp/progmodes/cmacexp.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/cmacexp.el b/lisp/progmodes/cmacexp.el
index 82d90d6d59..ce21a02875 100644
--- a/lisp/progmodes/cmacexp.el
+++ b/lisp/progmodes/cmacexp.el
@@ -267,7 +267,8 @@ Optional arg DISPLAY non-nil means show messages in the echo area."
(exit-status 0)
(tempname (make-temp-name
(expand-file-name "cmacexp"
- temporary-file-directory))))
+ (or small-temporary-file-directory
+ temporary-file-directory)))))
(unwind-protect
(save-excursion
(save-restriction