Commit 047c1280 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(eshell-sublist): Use eshell-copy-list

instead of copy-list.
parent 26b4dc84
......@@ -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))
(if (and m (consp (nthcdr m a)))
(setcdr (nthcdr m a) nil))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment