summaryrefslogtreecommitdiff
path: root/man/cl.texi
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2001-03-21 20:58:57 +0000
committerDave Love <fx@gnu.org>2001-03-21 20:58:57 +0000
commitb7a084f6f097da87195342e4493a146b077458b9 (patch)
tree373a1dc1a93e9d22110e1058ff304a1207731fb1 /man/cl.texi
parent140330dee9c827030ccdfcbf841939c2616fe93f (diff)
downloademacs-b7a084f6f097da87195342e4493a146b077458b9.tar.gz
expurgate last*
Diffstat (limited to 'man/cl.texi')
-rw-r--r--man/cl.texi27
1 files changed, 7 insertions, 20 deletions
diff --git a/man/cl.texi b/man/cl.texi
index 93923fc5914..1d76bac5438 100644
--- a/man/cl.texi
+++ b/man/cl.texi
@@ -280,7 +280,7 @@ defun* defsubst* defmacro* function*
member* assoc* rassoc* get*
remove* delete* mapcar* sort*
floor* ceiling* truncate* round*
-mod* rem* random* last*
+mod* rem* random*
@end example
Internal function and variable names in the package are prefixed
@@ -3795,10 +3795,11 @@ that it passes in the list pointers themselves rather than the
@end defun
@defun mapc function seq &rest more-seqs
-This function is like @code{mapcar*}, except that the values
-returned by @var{function} are ignored and thrown away rather
-than being collected into a list. The return value of @code{mapc}
-is @var{seq}, the first sequence.
+This function is like @code{mapcar*}, except that the values returned
+by @var{function} are ignored and thrown away rather than being
+collected into a list. The return value of @code{mapc} is @var{seq},
+the first sequence. This function is more general than the Emacs
+primitive @code{mapc}.
@end defun
@defun mapl function list &rest more-lists
@@ -4147,7 +4148,7 @@ a merged sequence which is (stably) sorted according to
The functions described here operate on lists.
@menu
-* List Functions:: `caddr', `first', `last*', `list*', etc.
+* List Functions:: `caddr', `first', `list*', etc.
* Substitution of Expressions:: `subst', `sublis', etc.
* Lists as Sets:: `member*', `adjoin', `union', etc.
* Association Lists:: `assoc*', `rassoc*', `acons', `pairlis'
@@ -4193,20 +4194,6 @@ with @code{nil}), this function returns @code{nil}. (The regular
@code{length} function would get stuck if given a circular list.)
@end defun
-@defun last* x &optional n
-This function returns the last cons, or the @var{n}th-to-last cons,
-of the list @var{x}. If @var{n} is omitted it defaults to 1.
-The ``last cons'' means the first cons cell of the list whose
-@code{cdr} is not another cons cell. (For normal lists, the
-@code{cdr} of the last cons will be @code{nil}.) This function
-returns @code{nil} if @var{x} is @code{nil} or shorter than
-@var{n}. Note that the last @emph{element} of the list is
-@code{(car (last @var{x}))}.
-
-The Emacs function @code{last} does the same thing
-except that it does not handle the optional argument @var{n}.
-@end defun
-
@defun list* arg &rest others
This function constructs a list of its arguments. The final
argument becomes the @code{cdr} of the last cell constructed.