]> git.eshelyaron.com Git - emacs.git/commitdiff
Bob Halley <halley@play-bow.org>: (eshell-set-output-handle): Fix so
authorJohn Wiegley <johnw@newartisans.com>
Tue, 22 Oct 2002 18:22:24 +0000 (18:22 +0000)
committerJohn Wiegley <johnw@newartisans.com>
Tue, 22 Oct 2002 18:22:24 +0000 (18:22 +0000)
that multiple redirection can work.

lisp/eshell/esh-io.el

index d458bad0665595088e44e0baa358b85b8120d831..fad9df29bbcc251ca52af19ea223f908096b7c42 100644 (file)
@@ -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)))))