aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-11-18 04:49:51 +0000
committerKarl Heuer1994-11-18 04:49:51 +0000
commit3e7383ebfa1b3b068b52ccd1b73e6872317d1c40 (patch)
tree23666eb75aa0e358b63e3a1f529a30fefba770e5 /src
parent602b4a3e927e0825a2b6da4b7b6d828cbbfb8c3a (diff)
downloademacs-3e7383ebfa1b3b068b52ccd1b73e6872317d1c40.tar.gz
emacs-3e7383ebfa1b3b068b52ccd1b73e6872317d1c40.zip
(Fvconcat, concat): Use Lisp_Vectorlike.
Diffstat (limited to 'src')
-rw-r--r--src/fns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fns.c b/src/fns.c
index 7df032086a8..0ef7ed3c9e7 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -242,7 +242,7 @@ Each argument may be a list, vector or string.")
242 int nargs; 242 int nargs;
243 Lisp_Object *args; 243 Lisp_Object *args;
244{ 244{
245 return concat (nargs, args, Lisp_Vector, 0); 245 return concat (nargs, args, Lisp_Vectorlike, 0);
246} 246}
247 247
248DEFUN ("copy-sequence", Fcopy_sequence, Scopy_sequence, 1, 1, 0, 248DEFUN ("copy-sequence", Fcopy_sequence, Scopy_sequence, 1, 1, 0,
@@ -308,7 +308,7 @@ concat (nargs, args, target_type, last_special)
308 308
309 if (target_type == Lisp_Cons) 309 if (target_type == Lisp_Cons)
310 val = Fmake_list (len, Qnil); 310 val = Fmake_list (len, Qnil);
311 else if (target_type == Lisp_Vector) 311 else if (target_type == Lisp_Vectorlike)
312 val = Fmake_vector (len, Qnil); 312 val = Fmake_vector (len, Qnil);
313 else 313 else
314 val = Fmake_string (len, len); 314 val = Fmake_string (len, len);