diff options
| author | Juanma Barranquero | 2009-12-04 16:16:26 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2009-12-04 16:16:26 +0000 |
| commit | be95bee9b8cf3f771fdb6438a44ded2880e65617 (patch) | |
| tree | fe4ccba69d57fbd4f7d72bcc0f37d24a3fd490a5 /src/ChangeLog | |
| parent | 24c2d7ce87ac4e656d3c9c55b39f7b44d76e8f7a (diff) | |
| download | emacs-be95bee9b8cf3f771fdb6438a44ded2880e65617.tar.gz emacs-be95bee9b8cf3f771fdb6438a44ded2880e65617.zip | |
Fix `string-to-number' to deal consistently with integers and floats.
* lread.c (isfloat_string): New argument ignore_trailing to accept all
trailing characters, not just whitespace.
(read1): Pass new arg 0 to keep old behavior.
* data.c (Fstring_to_number): Pass 1 to isfloat_string to ignore
trailing chars, as it is already done for integers. Doc fixes.
* lisp.h (isfloat_string): Add new arg to declaration of isfloat_string.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3ee60381fe8..35100e126a3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2009-12-04 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | Fix `string-to-number' to deal consistently with integers and floats. | ||
| 4 | * lread.c (isfloat_string): New argument ignore_trailing to accept all | ||
| 5 | trailing characters, not just whitespace. | ||
| 6 | (read1): Pass new arg 0 to keep old behavior. | ||
| 7 | * data.c (Fstring_to_number): Pass 1 to isfloat_string to ignore | ||
| 8 | trailing chars, as it is already done for integers. Doc fixes. | ||
| 9 | * lisp.h (isfloat_string): Add new arg to declaration of isfloat_string. | ||
| 10 | |||
| 1 | 2009-12-04 Eli Zaretskii <eliz@gnu.org> | 11 | 2009-12-04 Eli Zaretskii <eliz@gnu.org> |
| 2 | 12 | ||
| 3 | * dispextern.h (enum prop_idx) <AUTO_COMPOSED_PROP_IDX>: Delete | 13 | * dispextern.h (enum prop_idx) <AUTO_COMPOSED_PROP_IDX>: Delete |