From 047c1280be6adaaaa40528cf4070e5a76373ce3a Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 23 Jun 2000 04:53:48 +0000 Subject: [PATCH] (eshell-sublist): Use eshell-copy-list instead of copy-list. --- lisp/eshell/esh-util.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.2