comparison src/fns.c @ 290:c9fe270a4101 r21-0b43

Import from CVS: tag r21-0b43
author cvs
date Mon, 13 Aug 2007 10:36:47 +0200
parents 558f606b08ae
children 851ff35f137f
comparison
equal deleted inserted replaced
289:6e6992ccc4b6 290:c9fe270a4101
476 DEFUN ("concat", Fconcat, 0, MANY, 0, /* 476 DEFUN ("concat", Fconcat, 0, MANY, 0, /*
477 Concatenate all the arguments and make the result a string. 477 Concatenate all the arguments and make the result a string.
478 The result is a string whose elements are the elements of all the arguments. 478 The result is a string whose elements are the elements of all the arguments.
479 Each argument may be a string or a list or vector of characters. 479 Each argument may be a string or a list or vector of characters.
480 480
481 Do not use individual integers as arguments! 481 As of XEmacs 21.0, this function does NOT accept individual integers
482 The behavior of `concat' in that case will be changed later! 482 as arguments. Old code that relies on, for example, (concat "foo" 50)
483 If your program passes an integer as an argument to `concat', 483 returning "foo50" will fail. To fix such code, either apply
484 you should change it right away not to do so. 484 `int-to-string' to the integer argument, or use `format'.
485 */ 485 */
486 (int nargs, Lisp_Object *args)) 486 (int nargs, Lisp_Object *args))
487 { 487 {
488 return concat (nargs, args, c_string, 0); 488 return concat (nargs, args, c_string, 0);
489 } 489 }