summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-04-19 22:27:27 +0000
committerDave Love <fx@gnu.org>2000-04-19 22:27:27 +0000
commit5c6740c9795c94fa1c974a3a9e19390f9fae571c (patch)
treec27ebc2ec64c8fba752bf3a31b9777eb92cf407a /src/fns.c
parentac6b535224bd354610492bdaab47e7226f529a11 (diff)
downloademacs-5c6740c9795c94fa1c974a3a9e19390f9fae571c.tar.gz
(syms_of_fns): Defsubr mapc.
(concat): Don't allow numeric args. (Fconcat): Doc change.
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/fns.c b/src/fns.c
index 620b8f0b6a6..476f6e8c67c 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -431,12 +431,7 @@ 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 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.")
+Each argument may be a string or a list or vector of characters (integers).")
(nargs, args)
int nargs;
Lisp_Object *args;
@@ -598,9 +593,6 @@ concat (nargs, args, target_type, last_special)
if (!(CONSP (this) || NILP (this) || VECTORP (this) || STRINGP (this)
|| COMPILEDP (this) || BOOL_VECTOR_P (this)))
{
- if (INTEGERP (this))
- args[argnum] = Fnumber_to_string (this);
- else
args[argnum] = wrong_type_argument (Qsequencep, this);
}
}
@@ -2139,6 +2131,7 @@ a character set name, or a character code.")
}
else
error ("Invalid RANGE argument to `char-table-range'");
+ return Qt;
}
DEFUN ("set-char-table-range", Fset_char_table_range, Sset_char_table_range,
@@ -4858,6 +4851,7 @@ invoked by mouse clicks and mouse menu items.");
defsubr (&Smap_char_table);
defsubr (&Snconc);
defsubr (&Smapcar);
+ defsubr (&Smapc);
defsubr (&Smapconcat);
defsubr (&Sy_or_n_p);
defsubr (&Syes_or_no_p);