summaryrefslogtreecommitdiff
path: root/lispref/lists.texi
diff options
context:
space:
mode:
authorLuc Teirlinck <teirllm@auburn.edu>2004-06-23 16:40:04 +0000
committerLuc Teirlinck <teirllm@auburn.edu>2004-06-23 16:40:04 +0000
commit7baeca0c0e02d0c442b112573f9845b4a0cc38c0 (patch)
tree7d23c0b66dd6f8dee440ef98562a8b6e5ce689ec /lispref/lists.texi
parentfacf1bca12f4be8f6846f3073f76d524d15c7c41 (diff)
Reposition @anchor's.
Diffstat (limited to 'lispref/lists.texi')
-rw-r--r--lispref/lists.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/lispref/lists.texi b/lispref/lists.texi
index 2aa3c40b0e..d30dcb0c27 100644
--- a/lispref/lists.texi
+++ b/lispref/lists.texi
@@ -1,6 +1,7 @@
@c -*-texinfo-*-
@c This is part of the GNU Emacs Lisp Reference Manual.
-@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999
+@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999,
+@c 2003, 2004
@c Free Software Foundation, Inc.
@c See the file elisp.texi for copying conditions.
@setfilename ../info/lists
@@ -348,8 +349,8 @@ x
@end example
@end defmac
-@anchor{Definition of nth}
@defun nth n list
+@anchor{Definition of nth}
This function returns the @var{n}th element of @var{list}. Elements
are numbered starting with zero, so the @sc{car} of @var{list} is
element number zero. If the length of @var{list} is @var{n} or less,
@@ -413,8 +414,8 @@ this link is the list's last element. If @var{list} is null,
if @var{n} is bigger than @var{list}'s length.
@end defun
-@anchor{Definition of safe-length}
@defun safe-length list
+@anchor{Definition of safe-length}
This function returns the length of @var{list}, with no risk of either
an error or an infinite loop. It generally returns the number of
distinct cons cells in the list. However, for circular lists,