Mercurial > emacs
comparison lispref/lists.texi @ 51703:b8860fc285cb
Minor Texinfo usage fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 30 Jun 2003 10:43:01 +0000 |
parents | 23a1cea22d13 |
children | 8aed6a3b153d |
comparison
equal
deleted
inserted
replaced
51702:82502bf293e0 | 51703:b8860fc285cb |
---|---|
382 @end group | 382 @end group |
383 @end example | 383 @end example |
384 @end defun | 384 @end defun |
385 | 385 |
386 @defun last list &optional n | 386 @defun last list &optional n |
387 This function returns the last link of @var{list}. The | 387 This function returns the last link of @var{list}. The @code{car} of |
388 @code{car} of this link is the list's last element. If @var{list} is | 388 this link is the list's last element. If @var{list} is null, |
389 null, @code{nil} is returned. If @var{n} is non-nil the | 389 @code{nil} is returned. If @var{n} is non-@code{nil}, the |
390 @var{n}-th-to-last link is returned instead, or the whole @var{list} if | 390 @var{n}th-to-last link is returned instead, or the whole of @var{list} |
391 @var{n} is bigger than @var{list}'s length. | 391 if @var{n} is bigger than @var{list}'s length. |
392 @end defun | 392 @end defun |
393 | 393 |
394 @defun safe-length list | 394 @defun safe-length list |
395 This function returns the length of @var{list}, with no risk | 395 This function returns the length of @var{list}, with no risk |
396 of either an error or an infinite loop. | 396 of either an error or an infinite loop. |