From 315fe0e9538ddb1f03c46dad7e87dab922b891ac Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 27 Jul 2000 13:09:58 +0000 Subject: [PATCH] Numeric args to concat. --- lispref/strings.texi | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/lispref/strings.texi b/lispref/strings.texi index f5c73de809c..3f99834fe7f 100644 --- a/lispref/strings.texi +++ b/lispref/strings.texi @@ -246,23 +246,13 @@ returns an empty string. 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 -- 2.39.2