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,v


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lispref/lists.texi,v
Date: Mon, 06 Nov 2006 16:12:15 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Richard M. Stallman <rms>       06/11/06 16:12:15

Index: lists.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/lispref/lists.texi,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -b -r1.65 -r1.66
--- lists.texi  22 Oct 2006 22:51:10 -0000      1.65
+++ lists.texi  6 Nov 2006 16:12:15 -0000       1.66
@@ -713,12 +713,14 @@
 
   Two functions modify lists that are the values of variables.
 
address@hidden add-to-list symbol element &optional append
address@hidden add-to-list symbol element &optional append compare-fn
 This function sets the variable @var{symbol} by consing @var{element}
 onto the old value, if @var{element} is not already a member of that
 value.  It returns the resulting list, whether updated or not.  The
 value of @var{symbol} had better be a list already before the call.
-Membership is tested using @code{equal}.
address@hidden uses @var{compare-fn} to compare @var{element}
+against existing list members; if @var{compare-fn} is @code{nil}, it
+uses @code{equal}.
 
 Normally, if @var{element} is added, it is added to the front of
 @var{symbol}, but if the optional argument @var{append} is




reply via email to

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