From 1ae720ac024aa2009cc8f7e24ce3e4c4d0d3e8d0 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 1 Mar 2002 01:47:48 +0000 Subject: [PATCH] (eshell-parse-variable-ref): Use `make-temp-file'. --- lisp/ChangeLog | 3 +++ lisp/eshell/esh-var.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3e71e01330a..d4af5ae71ad 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2002-02-28 Colin Walters + * 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'. diff --git a/lisp/eshell/esh-var.el b/lisp/eshell/esh-var.el index c24ee7d2ecf..e47ba5e0809 100644 --- a/lisp/eshell/esh-var.el +++ b/lisp/eshell/esh-var.el @@ -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 -- 2.39.5