aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Walters2002-03-01 01:47:48 +0000
committerColin Walters2002-03-01 01:47:48 +0000
commit1ae720ac024aa2009cc8f7e24ce3e4c4d0d3e8d0 (patch)
tree2a6eb6406a2dfe9ee90fe586e064a48fa2caed91
parentd390f4aa4a2e17adf0f2b8fc00228ee69fd90d9c (diff)
downloademacs-1ae720ac024aa2009cc8f7e24ce3e4c4d0d3e8d0.tar.gz
emacs-1ae720ac024aa2009cc8f7e24ce3e4c4d0d3e8d0.zip
(eshell-parse-variable-ref): Use `make-temp-file'.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/eshell/esh-var.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3e71e01330a..d4af5ae71ad 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12002-02-28 Colin Walters <walters@verbum.org> 12002-02-28 Colin Walters <walters@verbum.org>
2 2
3 * eshell/esh-var.el (eshell-parse-variable-ref): Use
4 `make-temp-file'.
5
3 * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against 6 * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
4 `temporary-file-directory'; we now do that in 7 `temporary-file-directory'; we now do that in
5 `calc-graph-file-cache'. 8 `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:
427 (let ((end (eshell-find-delimiter ?\< ?\>))) 427 (let ((end (eshell-find-delimiter ?\< ?\>)))
428 (if (not end) 428 (if (not end)
429 (throw 'eshell-incomplete ?\<) 429 (throw 'eshell-incomplete ?\<)
430 (let* ((temp (make-temp-name temporary-file-directory)) 430 (let* ((temp (make-temp-file temporary-file-directory))
431 (cmd (concat (buffer-substring (1+ (point)) end) 431 (cmd (concat (buffer-substring (1+ (point)) end)
432 " > " temp))) 432 " > " temp)))
433 (prog1 433 (prog1