summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-05-21 14:51:17 +0000
committerKarl Heuer <kwzh@gnu.org>1996-05-21 14:51:17 +0000
commit553d18f920353473e062d406b23cd4ba6e35cfc4 (patch)
tree213f447fc58aeca84851fb05ceb9d4dcda450b0d
parent026f16e32e0e6bca7b6f7a6d99a09c30be6e5e28 (diff)
downloademacs-553d18f920353473e062d406b23cd4ba6e35cfc4.tar.gz
(c-macro-expansion): Correct bug in creating tempname.
-rw-r--r--lisp/progmodes/cmacexp.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/progmodes/cmacexp.el b/lisp/progmodes/cmacexp.el
index 168dcc9f623..9d944593879 100644
--- a/lisp/progmodes/cmacexp.el
+++ b/lisp/progmodes/cmacexp.el
@@ -3,7 +3,7 @@
;; Copyright (C) 1992, 1994, 1996 Free Software Foundation, Inc.
;; Author: Francesco Potorti` <pot@cnuce.cnr.it>
-;; Version: $Id: cmacexp.el,v 1.22 1996/01/29 05:26:21 rms Exp rms $
+;; Version: $Id: cmacexp.el,v 1.23 1996/03/02 06:11:56 rms Exp kwzh $
;; Adapted-By: ESR
;; Keywords: c
@@ -246,8 +246,10 @@ Optional arg DISPLAY non-nil means show messages in the echo area."
(startstat ())
(startmarker "")
(exit-status 0)
- (tempname (make-temp-name (or (getenv "TMPDIR") (getenv "TEMP")
- (getenv "TMP") "/tmp/"))))
+ (tempname (make-temp-name (concat
+ (or (getenv "TMPDIR") (getenv "TEMP")
+ (getenv "TMP") "/tmp")
+ "/"))))
(unwind-protect
(save-excursion
(save-restriction