aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorColin Walters2002-03-01 01:47:48 +0000
committerColin Walters2002-03-01 01:47:48 +0000
commit1ae720ac024aa2009cc8f7e24ce3e4c4d0d3e8d0 (patch)
tree2a6eb6406a2dfe9ee90fe586e064a48fa2caed91 /lisp/eshell
parentd390f4aa4a2e17adf0f2b8fc00228ee69fd90d9c (diff)
downloademacs-1ae720ac024aa2009cc8f7e24ce3e4c4d0d3e8d0.tar.gz
emacs-1ae720ac024aa2009cc8f7e24ce3e4c4d0d3e8d0.zip
(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:
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