Mercurial > emacs
changeset 73468:bfd9c13158fb
(Sets And Lists): Fix typos.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Sun, 22 Oct 2006 22:51:10 +0000 |
parents | 09426117d117 |
children | a902cb9cef1f |
files | lispref/lists.texi |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/lists.texi Sun Oct 22 22:50:17 2006 +0000 +++ b/lispref/lists.texi Sun Oct 22 22:51:10 2006 +0000 @@ -1396,7 +1396,7 @@ @end defun @defun memql object list -The function @code{member} tests to see whether @var{object} is a member +The function @code{memql} tests to see whether @var{object} is a member of @var{list}, comparing members with @var{object} using @code{eql}, so floating point elements are compared by value. If @var{object} is a member, @code{memql} returns a list starting with @@ -1406,11 +1406,11 @@ @example @group -(memql 1.2 '(1.1 1.2 1.3) ; @r{@code{1.2} and @code{1.2} are @code{eql}.} +(memql 1.2 '(1.1 1.2 1.3)) ; @r{@code{1.2} and @code{1.2} are @code{eql}.} @result{} (1.2 1.3) @end group @group -(memq 1.2 '(1.1 1.2 1.3) ; @r{@code{1.2} and @code{1.2} are not @code{eq}.} +(memq 1.2 '(1.1 1.2 1.3)) ; @r{@code{1.2} and @code{1.2} are not @code{eq}.} @result{} nil @end group @end example