diff options
author | Karl Heuer <kwzh@gnu.org> | 1996-05-21 14:51:17 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1996-05-21 14:51:17 +0000 |
commit | 9e9094f7719a695a4e6065bd7e7b693714666538 (patch) | |
tree | 335af2fc561aeee2d114f3e50290bcdb955f8f3b /lisp | |
parent | c3ff76c42adaaa6a51a82d9573108b0a8d5dfa6d (diff) | |
download | emacs-9e9094f7719a695a4e6065bd7e7b693714666538.tar.gz |
(c-macro-expansion): Correct bug in creating tempname.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/cmacexp.el | 8 |
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 |