[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undocumented change in mapconcat
From: |
David Kastrup |
Subject: |
Re: undocumented change in mapconcat |
Date: |
21 Mar 2002 14:36:17 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 |
ulrich@a0.complang.tuwien.ac.at (Ulrich Neumerkel) writes:
> --text follows this line--
>
> In GNU Emacs 21.1.2 (i686-pc-linux-gnu, X toolkit)
> of 2002-03-15 on a8.complang.tuwien.ac.at
> configured using `configure --prefix /usr/local
> --without-toolkit-scroll-bars'
>
> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:
>
> in 20.7.2 (mapconcat 'identity '(1 10) ", ") yielded "1, 10"
> but in 21.1.2 this gives an error
This is not an undocumented change in mapconcat, but rather a
documented change in concat. See the NEWS file:
** Code that uses `concat' with integer args now gets an error, as
long promised.
The solution, of course, is to use
(mapconcat 'int-to-string '(1 10) ", ")
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: David.Kastrup@t-online.de