summaryrefslogtreecommitdiff
path: root/lisp/eshell
diff options
context:
space:
mode:
authorColin Walters <walters@gnu.org>2002-03-01 01:47:48 +0000
committerColin Walters <walters@gnu.org>2002-03-01 01:47:48 +0000
commit1ae720ac024aa2009cc8f7e24ce3e4c4d0d3e8d0 (patch)
tree2a6eb6406a2dfe9ee90fe586e064a48fa2caed91 /lisp/eshell
parentd390f4aa4a2e17adf0f2b8fc00228ee69fd90d9c (diff)
(eshell-parse-variable-ref): Use `make-temp-file'.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/esh-var.el2
1 files changed, 1 insertions, 1 deletions
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