1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(eshell-parse-variable-ref): Use `make-temp-file'.

This commit is contained in:
Colin Walters 2002-03-01 01:47:48 +00:00
parent d390f4aa4a
commit 1ae720ac02
2 changed files with 4 additions and 1 deletions

View 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'.

View 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