# HG changeset patch # User Gerd Moellmann # Date 961736028 0 # Node ID 903015affdf04dc7e63334a8362366baca63d13f # Parent ccc03e321fdf9150626de671516d344e36322616 (eshell-sublist): Use eshell-copy-list instead of copy-list. diff -r ccc03e321fdf -r 903015affdf0 lisp/eshell/esh-util.el --- 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))