Mercurial > emacs
comparison lispref/sequences.texi @ 52147:b111b96616f0
(Vector Functions): vconcat no longer allows integer args.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 06 Aug 2003 01:41:53 +0000 |
parents | 23a1cea22d13 |
children | 695cf19ef79e |
comparison
equal
deleted
inserted
replaced
52146:c78c690c99e8 | 52147:b111b96616f0 |
---|---|
487 | 487 |
488 The @code{vconcat} function also allows byte-code function objects as | 488 The @code{vconcat} function also allows byte-code function objects as |
489 arguments. This is a special feature to make it easy to access the entire | 489 arguments. This is a special feature to make it easy to access the entire |
490 contents of a byte-code function object. @xref{Byte-Code Objects}. | 490 contents of a byte-code function object. @xref{Byte-Code Objects}. |
491 | 491 |
492 The @code{vconcat} function also allows integers as arguments. It | 492 In Emacs versions before 21, the @code{vconcat} function allowed |
493 converts them to strings of digits, making up the decimal print | 493 integers as arguments, converting them to strings of digits, but that |
494 representation of the integer, and then uses the strings instead of the | 494 feature has been eliminated. The proper way to convert an integer to |
495 original integers. @strong{Don't use this feature; we plan to eliminate | 495 a decimal number in this way is with @code{format} (@pxref{Formatting |
496 it. If you already use this feature, change your programs now!} The | 496 Strings}) or @code{number-to-string} (@pxref{String Conversion}). |
497 proper way to convert an integer to a decimal number in this way is with | |
498 @code{format} (@pxref{Formatting Strings}) or @code{number-to-string} | |
499 (@pxref{String Conversion}). | |
500 | 497 |
501 For other concatenation functions, see @code{mapconcat} in @ref{Mapping | 498 For other concatenation functions, see @code{mapconcat} in @ref{Mapping |
502 Functions}, @code{concat} in @ref{Creating Strings}, and @code{append} | 499 Functions}, @code{concat} in @ref{Creating Strings}, and @code{append} |
503 in @ref{Building Lists}. | 500 in @ref{Building Lists}. |
504 @end defun | 501 @end defun |