emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-24 r117018: Minor doc fix for string predicates.


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-24 r117018: Minor doc fix for string predicates.
Date: Thu, 24 Apr 2014 15:11:43 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117018
revision-id: address@hidden
parent: address@hidden
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Thu 2014-04-24 18:11:04 +0300
message:
  Minor doc fix for string predicates.
  
   doc/lispref/strings.texi (Text Comparison): Mention
   equal-including-properties for when text properties of the strings
   matter for comparison.
modified:
  doc/lispref/ChangeLog          changelog-20091113204419-o5vbwnq5f7feedwu-6155
  doc/lispref/strings.texi       
strings.texi-20091113204419-o5vbwnq5f7feedwu-6212
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog     2014-04-21 14:50:19 +0000
+++ b/doc/lispref/ChangeLog     2014-04-24 15:11:04 +0000
@@ -1,3 +1,9 @@
+2014-04-24  Eli Zaretskii  <address@hidden>
+
+       * strings.texi (Text Comparison): Mention
+       equal-including-properties for when text properties of the strings
+       matter for comparison.
+
 2014-04-21  Eli Zaretskii  <address@hidden>
 
        * text.texi (Registers): Document register-read-with-preview.

=== modified file 'doc/lispref/strings.texi'
--- a/doc/lispref/strings.texi  2014-03-18 01:19:03 +0000
+++ b/doc/lispref/strings.texi  2014-04-24 15:11:04 +0000
@@ -423,8 +423,10 @@
 
 This function is equivalent to @code{equal} for comparing two strings
 (@pxref{Equality Predicates}).  In particular, the text properties of
-the two strings are ignored.  But if either argument is not a string
-or symbol, an error is signaled.
+the two strings are ignored; use @code{equal-including-properties} if
+you need to distinguish between strings that differ only in their text
+properties.  However, unlike @code{equal}, if either argument is not a
+string or symbol, @code{string=} signals an error.
 
 @example
 (string= "abc" "abc")


reply via email to

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