aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/cl.texi16
1 files changed, 1 insertions, 15 deletions
diff --git a/man/cl.texi b/man/cl.texi
index 4aa01b32f6e..93923fc5914 100644
--- a/man/cl.texi
+++ b/man/cl.texi
@@ -299,7 +299,7 @@ they do not cause other components like @file{cl-extra} to be loaded.
299@example 299@example
300eql floatp-safe endp 300eql floatp-safe endp
301evenp oddp plusp minusp 301evenp oddp plusp minusp
302butlast nbutlast caaar .. cddddr 302caaar .. cddddr
303list* ldiff rest first .. tenth 303list* ldiff rest first .. tenth
304copy-list subst mapcar* [2] 304copy-list subst mapcar* [2]
305adjoin [3] acons pairlis pop [4] 305adjoin [3] acons pairlis pop [4]
@@ -4207,20 +4207,6 @@ The Emacs function @code{last} does the same thing
4207except that it does not handle the optional argument @var{n}. 4207except that it does not handle the optional argument @var{n}.
4208@end defun 4208@end defun
4209 4209
4210@defun butlast x &optional n
4211This function returns the list @var{x} with the last element,
4212or the last @var{n} elements, removed. If @var{n} is greater
4213than zero it makes a copy of the list so as not to damage the
4214original list. In general, @code{(append (butlast @var{x} @var{n})
4215(last @var{x} @var{n}))} will return a list equal to @var{x}.
4216@end defun
4217
4218@defun nbutlast x &optional n
4219This is a version of @code{butlast} that works by destructively
4220modifying the @code{cdr} of the appropriate element, rather than
4221making a copy of the list.
4222@end defun
4223
4224@defun list* arg &rest others 4210@defun list* arg &rest others
4225This function constructs a list of its arguments. The final 4211This function constructs a list of its arguments. The final
4226argument becomes the @code{cdr} of the last cell constructed. 4212argument becomes the @code{cdr} of the last cell constructed.