emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/sequences.texi


From: Dave Love
Subject: [Emacs-diffs] Changes to emacs/lispref/sequences.texi
Date: Mon, 06 Oct 2003 12:52:24 -0400

Index: emacs/lispref/sequences.texi
diff -c emacs/lispref/sequences.texi:1.20 emacs/lispref/sequences.texi:1.21
*** emacs/lispref/sequences.texi:1.20   Mon Sep  1 11:45:41 2003
--- emacs/lispref/sequences.texi        Mon Oct  6 12:52:24 2003
***************
*** 69,76 ****
  sequence.
  
  @defun sequencep object
! Returns @code{t} if @var{object} is a list, vector, or
! string, @code{nil} otherwise.
  @end defun
  
  @defun length sequence
--- 69,76 ----
  sequence.
  
  @defun sequencep object
! Returns @code{t} if @var{object} is a list, vector,
! string, or char-table, @code{nil} otherwise.
  @end defun
  
  @defun length sequence
***************
*** 78,87 ****
  @cindex list length
  @cindex vector length
  @cindex sequence length
  This function returns the number of elements in @var{sequence}.  If
  @var{sequence} is a cons cell that is not a list (because the final
  @sc{cdr} is not @code{nil}), a @code{wrong-type-argument} error is
! signaled.
  
  @xref{List Elements}, for the related function @code{safe-length}.
  
--- 78,89 ----
  @cindex list length
  @cindex vector length
  @cindex sequence length
+ @cindex char-table length
  This function returns the number of elements in @var{sequence}.  If
  @var{sequence} is a cons cell that is not a list (because the final
  @sc{cdr} is not @code{nil}), a @code{wrong-type-argument} error is
! signaled.  For a char-table, the value returned is always one more
! than the maximum Emacs character code.
  
  @xref{List Elements}, for the related function @code{safe-length}.
  
***************
*** 107,112 ****
--- 109,121 ----
      @result{} 5
  @end group
  @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
  
  @defun elt sequence index




reply via email to

[Prev in Thread] Current Thread [Next in Thread]