(eshell-parse-variable-ref): Use `make-temp-file'.
authorColin Walters <walters@gnu.org>
Fri, 1 Mar 2002 01:47:48 +0000 (01:47 +0000)
committerColin Walters <walters@gnu.org>
Fri, 1 Mar 2002 01:47:48 +0000 (01:47 +0000)
lisp/ChangeLog
lisp/eshell/esh-var.el

index 3e71e01..d4af5ae 100644 (file)
@@ -1,5 +1,8 @@
 2002-02-28  Colin Walters  <walters@verbum.org>
 
+       * eshell/esh-var.el (eshell-parse-variable-ref): Use
+       `make-temp-file'.
+
        * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
        `temporary-file-directory'; we now do that in
        `calc-graph-file-cache'.
index c24ee7d..e47ba5e 100644 (file)
@@ -427,7 +427,7 @@ Possible options are:
       (let ((end (eshell-find-delimiter ?\< ?\>)))
        (if (not end)
            (throw 'eshell-incomplete ?\<)
-         (let* ((temp (make-temp-name temporary-file-directory))
+         (let* ((temp (make-temp-file temporary-file-directory))
                 (cmd (concat (buffer-substring (1+ (point)) end)
                              " > " temp)))
            (prog1