From: Gerd Moellmann Date: Fri, 23 Jun 2000 04:53:48 +0000 (+0000) Subject: (eshell-sublist): Use eshell-copy-list X-Git-Tag: emacs-pretest-21.0.90~3127 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=047c1280be6adaaaa40528cf4070e5a76373ce3a;p=emacs.git (eshell-sublist): Use eshell-copy-list instead of copy-list. --- diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el index eb69e5e0f98..cf789930ae0 100644 --- a/lisp/eshell/esh-util.el +++ b/lisp/eshell/esh-util.el @@ -206,7 +206,7 @@ then quoting is done by a backslash, rather than a doubled delimiter." (defun eshell-sublist (l &optional n m) "Return from LIST the N to M elements. If N or M is nil, it means the end of the list." - (let* ((a (copy-list l)) + (let* ((a (eshell-copy-list l)) result) (if (and m (consp (nthcdr m a))) (setcdr (nthcdr m a) nil))