From: Dave Love Date: Thu, 27 Jul 2000 13:09:58 +0000 (+0000) Subject: Numeric args to concat. X-Git-Tag: emacs-pretest-21.0.90~2573 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=315fe0e9538ddb1f03c46dad7e87dab922b891ac;p=emacs.git Numeric args to concat. --- 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