Mercurial > emacs
changeset 29871:903015affdf0
(eshell-sublist): Use eshell-copy-list
instead of copy-list.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 23 Jun 2000 04:53:48 +0000 |
parents | ccc03e321fdf |
children | b95f1796ee1a |
files | lisp/eshell/esh-util.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/eshell/esh-util.el Fri Jun 23 04:39:18 2000 +0000 +++ b/lisp/eshell/esh-util.el Fri Jun 23 04:53:48 2000 +0000 @@ -206,7 +206,7 @@ (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))