summaryrefslogtreecommitdiff
path: root/lispref/strings.texi
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-06-05 12:23:13 +0000
committerKarl Heuer <kwzh@gnu.org>1995-06-05 12:23:13 +0000
commit22697dac66806b67eca956ad8cf8907b16d750b4 (patch)
tree57a28d25543669c66512a7fd1977eea4973115c4 /lispref/strings.texi
parenta8a818c00e9cc73259aa3c519ba5fc34741c11ab (diff)
downloademacs-22697dac66806b67eca956ad8cf8907b16d750b4.tar.gz
*** empty log message ***
Diffstat (limited to 'lispref/strings.texi')
-rw-r--r--lispref/strings.texi12
1 files changed, 8 insertions, 4 deletions
diff --git a/lispref/strings.texi b/lispref/strings.texi
index 1ca59d81f69..a0321476dc0 100644
--- a/lispref/strings.texi
+++ b/lispref/strings.texi
@@ -218,10 +218,10 @@ not @code{eq} to any existing string.
When an argument is an integer (not a sequence of integers), it is
converted to a string of digits making up the decimal printed
-representation of the integer. @string{Don't use this feature---it
-exists for historical compatibility only, and we plan to change it by
-and by.} If you wish to convert an integer to a decimal number in this
-way, use @code{format} (@pxref{Formatting Strings}) or
+representation of the integer. @strong{Don't use this feature; we plan
+to eliminate it. If you already use this feature, change your programs
+now!} The proper way to convert an integer to a decimal number in this
+way is with @code{format} (@pxref{Formatting Strings}) or
@code{number-to-string} (@pxref{String Conversion}).
@example
@@ -270,6 +270,10 @@ match exactly; case is significant.
(string= "ab" "ABC")
@result{} nil
@end example
+
+The function @code{string=} ignores the text properties of the
+two strings. To compare strings in a way that compares their text
+properties also, use @code{equal} (@pxref{Equality Predicates}).
@end defun
@defun string-equal string1 string2