Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
047c1280
Commit
047c1280
authored
Jun 23, 2000
by
Gerd Moellmann
Browse files
(eshell-sublist): Use eshell-copy-list
instead of copy-list.
parent
26b4dc84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/eshell/esh-util.el
lisp/eshell/esh-util.el
+1
-1
No files found.
lisp/eshell/esh-util.el
View file @
047c1280
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment