emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Luc Teirlinck
Subject: [Emacs-diffs] Changes to emacs/lispref/lists.texi
Date: Sun, 19 Jun 2005 17:03:15 -0400

Index: emacs/lispref/lists.texi
diff -c emacs/lispref/lists.texi:1.52 emacs/lispref/lists.texi:1.53
*** emacs/lispref/lists.texi:1.52       Fri Jun 17 13:47:44 2005
--- emacs/lispref/lists.texi    Sun Jun 19 21:03:14 2005
***************
*** 715,721 ****
  primitives @code{setcar} and @code{setcdr}.  We call these ``destructive''
  operations because they change existing list structure.
  
! @cindex CL address@hidden vrs @code{setcar}
  @quotation
  @findex rplaca
  @findex rplacd
--- 715,721 ----
  primitives @code{setcar} and @code{setcdr}.  We call these ``destructive''
  operations because they change existing list structure.
  
! @cindex CL address@hidden vs @code{setcar}
  @quotation
  @findex rplaca
  @findex rplacd
***************
*** 1691,1697 ****
  @end defun
  
  @defun ring-p object
! This returns @code{t} if @var{object} is a ring.
  @end defun
  
  @defun ring-size ring
--- 1691,1697 ----
  @end defun
  
  @defun ring-p object
! This returns @code{t} if @var{object} is a ring, @code{nil} otherwise.
  @end defun
  
  @defun ring-size ring
***************
*** 1710,1725 ****
  
  @defun ring-copy ring
  This returns a new ring which is a copy of @var{ring}.
! The new ring contains the same objects as @var{ring}.
  @end defun
  
  @defun ring-empty-p ring
! This returns @code{t} if @var{ring} is empty.
  @end defun
  
!   The newest element in the ring always has index 0.  Higher indexes
! correspond to older elements.  Index @minus{}1 corresponds to the
! oldest element, @minus{}2 to the next-oldest, and so forth.
  
  @defun ring-ref ring index
  This returns the object in @var{ring} found at index @var{index}.
--- 1710,1726 ----
  
  @defun ring-copy ring
  This returns a new ring which is a copy of @var{ring}.
! The new ring contains the same (@code{eq}) objects as @var{ring}.
  @end defun
  
  @defun ring-empty-p ring
! This returns @code{t} if @var{ring} is empty, @code{nil} otherwise.
  @end defun
  
!   The newest element in the ring always has index 0.  Higher indices
! correspond to older elements.  Indices are computed modulo the ring
! length.  Index @minus{}1 corresponds to the oldest element, @minus{}2
! to the next-oldest, and so forth.
  
  @defun ring-ref ring index
  This returns the object in @var{ring} found at index @var{index}.
***************
*** 1744,1750 ****
  
  @defun ring-insert-at-beginning ring object
  This inserts @var{object} into @var{ring}, treating it as the oldest
! element, and returns @var{object}.
  
  If the ring is full, this function removes the newest element to make
  room for the inserted element.
--- 1745,1751 ----
  
  @defun ring-insert-at-beginning ring object
  This inserts @var{object} into @var{ring}, treating it as the oldest
! element.  The return value is not significant.
  
  If the ring is full, this function removes the newest element to make
  room for the inserted element.




reply via email to

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