aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorDave Love2001-01-05 16:52:53 +0000
committerDave Love2001-01-05 16:52:53 +0000
commit2d4c95097a4fb7601070751e9d444eb3bcad467a (patch)
treedaf7cf8dbab893d1e93a50fbe02561e519e9c2f8 /man
parent4cb1bcc28365e0ebb8e6381649750661d0c62e74 (diff)
downloademacs-2d4c95097a4fb7601070751e9d444eb3bcad467a.tar.gz
emacs-2d4c95097a4fb7601070751e9d444eb3bcad467a.zip
Delete butlast, nbutlast.
Diffstat (limited to 'man')
-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.