diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-03-28 07:38:29 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-03-28 07:38:29 +0000 |
commit | f0bf1e8b879f2be4e5533df5eb903e1462a50eb7 (patch) | |
tree | 7859469f2a725ef9ab6524bc06da3cbae1099698 /src/fns.c | |
parent | 5b24e66d951bee1dc640fde1b099f9c259683a83 (diff) | |
download | emacs-f0bf1e8b879f2be4e5533df5eb903e1462a50eb7.tar.gz |
(Fconcat): Undo previous change.
Diffstat (limited to 'src/fns.c')
-rw-r--r-- | src/fns.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/fns.c b/src/fns.c index c5f6e6cebe3..97fc34ce83a 100644 --- a/src/fns.c +++ b/src/fns.c @@ -222,8 +222,12 @@ The last argument is not copied, just used as the tail of the new list.") DEFUN ("concat", Fconcat, Sconcat, 0, MANY, 0, "Concatenate all the arguments and make the result a string.\n\ The result is a string whose elements are the elements of all the arguments.\n\ -Each argument may be a string, a character (integer), or a list or vector\n\ -of characters (integers).") +Each argument may be a string or a list or vector of characters (integers).\n\ +\n\ +Do not use individual integers as arguments!\n\ +The behavior of `concat' in that case will be changed later!\n\ +If your program passes an integer as an argument to `concat',\n\ +you should change it right away not to do so.") (nargs, args) int nargs; Lisp_Object *args; @@ -288,7 +292,7 @@ concat (nargs, args, target_type, last_special) || COMPILEDP (this))) { if (INTEGERP (this)) - args[argnum] = Fcons (this, Qnil); + args[argnum] = Fnumber_to_string (this); else args[argnum] = wrong_type_argument (Qsequencep, this); } |