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 | 37d40ae917e30a9fc1bb3df308b77e7efe9a8e71 (patch) | |
| tree | e113b660b9f0e3e4bde3c9d4f175da7365663728 /src | |
| parent | a10f6c69acc8ff6f268352293a4cf3cd0f4e4563 (diff) | |
| download | emacs-37d40ae917e30a9fc1bb3df308b77e7efe9a8e71.tar.gz | |
(Fconcat): Undo previous change.
Diffstat (limited to 'src')
| -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); } |
