Mercurial > emacs
comparison src/fns.c @ 2429:96b55f2f19cd
Rename int-to-string to number-to-string, since it can handle
floating-point as well as integer arguments. subr.el defines the
former as an alias for the latter.
* data.c (Fnumber_to_string): Renamed from Fint_to_string.
(wrong_type_argument): Adjust caller.
(syms_of_data): Adjust defsubr.
* fns.c (concat): Adjust caller.
* lisp.h (Fnumber_to_string): Adjust extern declaration.
* mocklisp.c (Finsert_string): Adjust caller.
* process.c (status_message): Adjust caller.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 30 Mar 1993 21:21:49 +0000 |
parents | 8ce8541f393a |
children | 6cf2344e6e7e |
comparison
equal
deleted
inserted
replaced
2428:83319ce2d2f3 | 2429:96b55f2f19cd |
---|---|
260 if (!(CONSP (this) || NILP (this) | 260 if (!(CONSP (this) || NILP (this) |
261 || XTYPE (this) == Lisp_Vector || XTYPE (this) == Lisp_String | 261 || XTYPE (this) == Lisp_Vector || XTYPE (this) == Lisp_String |
262 || XTYPE (this) == Lisp_Compiled)) | 262 || XTYPE (this) == Lisp_Compiled)) |
263 { | 263 { |
264 if (XTYPE (this) == Lisp_Int) | 264 if (XTYPE (this) == Lisp_Int) |
265 args[argnum] = Fint_to_string (this); | 265 args[argnum] = Fnumber_to_string (this); |
266 else | 266 else |
267 args[argnum] = wrong_type_argument (Qsequencep, this); | 267 args[argnum] = wrong_type_argument (Qsequencep, this); |
268 } | 268 } |
269 } | 269 } |
270 | 270 |