diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/eshell/esh-util.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 206 | (defun eshell-sublist (l &optional n m) | 206 | (defun eshell-sublist (l &optional n m) |
| 207 | "Return from LIST the N to M elements. | 207 | "Return from LIST the N to M elements. |
| 208 | If N or M is nil, it means the end of the list." | 208 | If N or M is nil, it means the end of the list." |
| 209 | (let* ((a (copy-list l)) | 209 | (let* ((a (eshell-copy-list l)) |
| 210 | result) | 210 | result) |
| 211 | (if (and m (consp (nthcdr m a))) | 211 | (if (and m (consp (nthcdr m a))) |
| 212 | (setcdr (nthcdr m a) nil)) | 212 | (setcdr (nthcdr m a) nil)) |