]> code.delx.au - gnu-emacs/commit
* data.c (Fstring_to_number): Skip initial spaces, to make Emacs
authorJim Blandy <jimb@redhat.com>
Mon, 22 Feb 1993 14:27:14 +0000 (14:27 +0000)
committerJim Blandy <jimb@redhat.com>
Mon, 22 Feb 1993 14:27:14 +0000 (14:27 +0000)
commit25e40a4bb9c59f53907809c5a8d3e850993c8147
tree1e869892ef9f4228ea19f6497095f3c6726fd8d0
parent1dc4f30a69aff5dc9eb142ec178939bb45164c58
* data.c (Fstring_to_number): Skip initial spaces, to make Emacs
lisp parse consistently on different operating systems.
#include <ctype.h> to help with this.

* data.c (Fstring_to_int): Rename this to Fstring_to_number, since
it parses floats as well as integers.  Fix docstring.
(syms_of_data): Fix defsubr.
(wrong_type_argument): Change use.
(Fint_to_string): Doc fix.
* lisp.h (Fstring_to_int): Change extern declaration.

* data.c (wrong_type_argument): Pass the correct number of
arguments to Fstring_to_int.

* data.c (arithcompare): Add a default case which aborts, just to
make me happy.
src/data.c