summaryrefslogtreecommitdiff
path: root/lisp/eshell/esh-io.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-10-22 18:22:24 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-10-22 18:22:24 +0000
commit2c762cee38dfa162d5de5e78e1c7d4880ccec057 (patch)
treee0199bc9433ee805b424a64a5e5ce50d2bdc0075 /lisp/eshell/esh-io.el
parent44f4a515d0826828a86c99d2b579bb79fcc3610c (diff)
downloademacs-2c762cee38dfa162d5de5e78e1c7d4880ccec057.tar.gz
Bob Halley <halley@play-bow.org>: (eshell-set-output-handle): Fix so
that multiple redirection can work.
Diffstat (limited to 'lisp/eshell/esh-io.el')
-rw-r--r--lisp/eshell/esh-io.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/esh-io.el b/lisp/eshell/esh-io.el
index d458bad0665..fad9df29bbc 100644
--- a/lisp/eshell/esh-io.el
+++ b/lisp/eshell/esh-io.el
@@ -396,7 +396,7 @@ it defaults to `insert'."
(if (and (listp current)
(not (member where current)))
(setq current (append current (list where)))
- (setq current where))
+ (setq current (list where)))
(if (not (aref eshell-current-handles index))
(aset eshell-current-handles index (cons nil 1)))
(setcar (aref eshell-current-handles index) current)))))