X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/a87ffdbca993ceed4f5355103b2536c2e50042ee..11a609d13fcbe36e89c8727be97654eb5dc0f86a:/lispref/sequences.texi diff --git a/lispref/sequences.texi b/lispref/sequences.texi index 982c9ffead..b615a091a6 100644 --- a/lispref/sequences.texi +++ b/lispref/sequences.texi @@ -1,7 +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 Free Software Foundation, Inc. +@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001, +@c 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. @c See the file elisp.texi for copying conditions. @setfilename ../info/sequences @node Sequences Arrays Vectors, Hash Tables, Lists, Top @@ -111,12 +111,8 @@ Emacs character code. @end example @end defun -@defun string-bytes string -@cindex string, number of bytes -This function returns the number of bytes in @var{string}. -If @var{string} is a multibyte string, this is greater than -@code{(length @var{string})}. -@end defun +@noindent +See also @code{string-bytes}, in @ref{Text Representations}. @defun elt sequence index @cindex elements of sequences @@ -252,7 +248,7 @@ The length of the array is fixed once you create it; you cannot change the length of an existing array. @item -for purposes of evaluation, the array is a constant---in other words, +For purposes of evaluation, the array is a constant---in other words, it evaluates to itself. @item @@ -392,7 +388,7 @@ are often useful for objects known to be arrays. @xref{Sequence Functions}. @node Vectors @section Vectors -@cindex vector +@cindex vector (type) Arrays in Lisp, like arrays in most languages, are blocks of memory whose elements can be accessed in constant time. A @dfn{vector} is a @@ -513,8 +509,8 @@ Functions}, @code{concat} in @ref{Creating Strings}, and @code{append} in @ref{Building Lists}. @end defun - The @code{append} function provides a way to convert a vector into a -list with the same elements (@pxref{Building Lists}): + The @code{append} function also provides a way to convert a vector into a +list with the same elements: @example @group