aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-09-21 06:54:51 +0000
committerRichard M. Stallman1994-09-21 06:54:51 +0000
commitd4af3687405fc0326418d1c257226e1383247e1c (patch)
tree351454ee6da83311c25d5f9ae56a48336f4489a5 /src
parent82277c2ff70710598b15419e354031a3374e9c6a (diff)
downloademacs-d4af3687405fc0326418d1c257226e1383247e1c.tar.gz
emacs-d4af3687405fc0326418d1c257226e1383247e1c.zip
(concat3): New function.
Diffstat (limited to 'src')
-rw-r--r--src/fns.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/fns.c b/src/fns.c
index 9afea6c59cf..aa1489afb50 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -196,6 +196,22 @@ concat2 (s1, s2)
196#endif /* NO_ARG_ARRAY */ 196#endif /* NO_ARG_ARRAY */
197} 197}
198 198
199/* ARGSUSED */
200Lisp_Object
201concat3 (s1, s2, s3)
202 Lisp_Object s1, s2, s3;
203{
204#ifdef NO_ARG_ARRAY
205 Lisp_Object args[3];
206 args[0] = s1;
207 args[1] = s2;
208 args[2] = s3;
209 return concat (3, args, Lisp_String, 0);
210#else
211 return concat (3, &s1, Lisp_String, 0);
212#endif /* NO_ARG_ARRAY */
213}
214
199DEFUN ("append", Fappend, Sappend, 0, MANY, 0, 215DEFUN ("append", Fappend, Sappend, 0, MANY, 0,
200 "Concatenate all the arguments and make the result a list.\n\ 216 "Concatenate all the arguments and make the result a list.\n\
201The result is a list whose elements are the elements of all the arguments.\n\ 217The result is a list whose elements are the elements of all the arguments.\n\