aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-03-28 07:38:29 +0000
committerRichard M. Stallman1995-03-28 07:38:29 +0000
commit37d40ae917e30a9fc1bb3df308b77e7efe9a8e71 (patch)
treee113b660b9f0e3e4bde3c9d4f175da7365663728 /src
parenta10f6c69acc8ff6f268352293a4cf3cd0f4e4563 (diff)
downloademacs-37d40ae917e30a9fc1bb3df308b77e7efe9a8e71.tar.gz
emacs-37d40ae917e30a9fc1bb3df308b77e7efe9a8e71.zip
(Fconcat): Undo previous change.
Diffstat (limited to 'src')
-rw-r--r--src/fns.c10
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.")
222DEFUN ("concat", Fconcat, Sconcat, 0, MANY, 0, 222DEFUN ("concat", Fconcat, Sconcat, 0, MANY, 0,
223 "Concatenate all the arguments and make the result a string.\n\ 223 "Concatenate all the arguments and make the result a string.\n\
224The result is a string whose elements are the elements of all the arguments.\n\ 224The result is a string whose elements are the elements of all the arguments.\n\
225Each argument may be a string, a character (integer), or a list or vector\n\ 225Each argument may be a string or a list or vector of characters (integers).\n\
226of characters (integers).") 226\n\
227Do not use individual integers as arguments!\n\
228The behavior of `concat' in that case will be changed later!\n\
229If your program passes an integer as an argument to `concat',\n\
230you should change it right away not to do so.")
227 (nargs, args) 231 (nargs, args)
228 int nargs; 232 int nargs;
229 Lisp_Object *args; 233 Lisp_Object *args;
@@ -288,7 +292,7 @@ concat (nargs, args, target_type, last_special)
288 || COMPILEDP (this))) 292 || COMPILEDP (this)))
289 { 293 {
290 if (INTEGERP (this)) 294 if (INTEGERP (this))
291 args[argnum] = Fcons (this, Qnil); 295 args[argnum] = Fnumber_to_string (this);
292 else 296 else
293 args[argnum] = wrong_type_argument (Qsequencep, this); 297 args[argnum] = wrong_type_argument (Qsequencep, this);
294 } 298 }