Commit cd0e6365 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

; * doc/lispref/lists.texi (List Elements): Fix last change.

parent 097b1686
......@@ -387,13 +387,13 @@ or @code{(nthcdr 2 @var{cons-cell})}.
@findex cdddar
@findex cddddr
In addition to the above, 24 additional compositions of @code{car} and
@code{cdr} are defined as @code{cXXXr} and @code{cXXXXr}, where each
@var{x} is either @samp{a} or @samp{d}.
@code{cadr}, @code{caddr}, and @code{cadddr} pick out the second,
third or fourth elements of a list, respectively. @file{cl-lib}
provides the same under the names @code{cl-second}, @code{cl-third},
and @code{cl-fourth}.
@xref{List Functions,,, cl, Common Lisp Extensions}.
@code{cdr} are defined as @code{c@var{xxx}r} and @code{c@var{xxxx}r},
where each @code{@var{x}} is either @code{a} or @code{d}. @code{cadr},
@code{caddr}, and @code{cadddr} pick out the second, third or fourth
elements of a list, respectively. @file{cl-lib} provides the same
under the names @code{cl-second}, @code{cl-third}, and
@code{cl-fourth}. @xref{List Functions,,, cl, Common Lisp
Extensions}.
@defun butlast x &optional n
This function returns the list @var{x} with the last element,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment