emacs-diffs
[Top][All Lists]
Advanced

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

emacs-30 dfcfaa0ef58 1/3: More accurate documentation of 'equal' in ELis


From: Eli Zaretskii
Subject: emacs-30 dfcfaa0ef58 1/3: More accurate documentation of 'equal' in ELisp Reference
Date: Sat, 31 Aug 2024 05:43:16 -0400 (EDT)

branch: emacs-30
commit dfcfaa0ef58bab0df243ebf816293a124f4c91c9
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    More accurate documentation of 'equal' in ELisp Reference
    
    * doc/lispref/objects.texi (Equality Predicates): Add lists and
    conses.  (Bug#72888)
---
 doc/lispref/objects.texi | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi
index ec6ab8204d6..399a1d169c2 100644
--- a/doc/lispref/objects.texi
+++ b/doc/lispref/objects.texi
@@ -2413,6 +2413,11 @@ the converse is not always true.
 @end group
 @end example
 
+The @code{equal} function recursively compares the contents of objects
+if they are integers, strings, markers, lists, cons cells, vectors,
+bool-vectors, byte-code function objects, char-tables, records, or font
+objects.
+
 Comparison of strings is case-sensitive, but does not take account of
 text properties---it compares only the characters in the strings.
 @xref{Text Properties}.  Use @code{equal-including-properties} to also
@@ -2428,10 +2433,6 @@ same sequence of character codes and all these codes are 
in the range
 @end group
 @end example
 
-The @code{equal} function recursively compares the contents of objects
-if they are integers, strings, markers, vectors, bool-vectors,
-byte-code function objects, char-tables, records, or font objects.
-
 If @var{object1} or @var{object2} contains symbols with position,
 @code{equal} treats them as if they were their bare symbols when
 @code{symbols-with-pos-enabled} is non-@code{nil}.  Otherwise



reply via email to

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