changeset 30498:79122ed1162e

Numeric args to concat.
author Dave Love <fx@gnu.org>
date Thu, 27 Jul 2000 13:09:58 +0000
parents 66c03b43ceb8
children e603bf6a21ad
files lispref/strings.texi
diffstat 1 files changed, 5 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/strings.texi	Thu Jul 27 12:34:42 2000 +0000
+++ b/lispref/strings.texi	Thu Jul 27 13:09:58 2000 +0000
@@ -246,23 +246,13 @@
 The @code{concat} function always constructs a new string that is
 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.  @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 its decimal printed form
-is with @code{format} (@pxref{Formatting Strings}) or
+In Emacs versions before 21, when an argument was an integer (not a
+sequence of integers), it was converted to a string of digits making up
+the decimal printed representation of the integer.  This obsolete usage
+no longer works.  The proper way to convert an integer to its decimal
+printed form is with @code{format} (@pxref{Formatting Strings}) or
 @code{number-to-string} (@pxref{String Conversion}).
 
-@example
-@group
-(concat 137)
-     @result{} "137"
-(concat 54 321)
-     @result{} "54321"
-@end group
-@end example
-
 For information about other concatenation functions, see the
 description of @code{mapconcat} in @ref{Mapping Functions},
 @code{vconcat} in @ref{Vectors}, and @code{append} in @ref{Building