diff options
| author | Karl Heuer | 1994-11-18 04:49:51 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-11-18 04:49:51 +0000 |
| commit | 3e7383ebfa1b3b068b52ccd1b73e6872317d1c40 (patch) | |
| tree | 23666eb75aa0e358b63e3a1f529a30fefba770e5 /src | |
| parent | 602b4a3e927e0825a2b6da4b7b6d828cbbfb8c3a (diff) | |
| download | emacs-3e7383ebfa1b3b068b52ccd1b73e6872317d1c40.tar.gz emacs-3e7383ebfa1b3b068b52ccd1b73e6872317d1c40.zip | |
(Fvconcat, concat): Use Lisp_Vectorlike.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | ||
| 248 | DEFUN ("copy-sequence", Fcopy_sequence, Scopy_sequence, 1, 1, 0, | 248 | DEFUN ("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); |