Mercurial > emacs
comparison src/eval.c @ 12583:73ac42b9be24
(Ffuncall, Fapply): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 18 Jul 1995 19:16:16 +0000 |
parents | af7833ecb551 |
children | 14721fd8dcc1 |
comparison
equal
deleted
inserted
replaced
12582:5f8972720e72 | 12583:73ac42b9be24 |
---|---|
1736 return val; | 1736 return val; |
1737 } | 1737 } |
1738 | 1738 |
1739 DEFUN ("apply", Fapply, Sapply, 2, MANY, 0, | 1739 DEFUN ("apply", Fapply, Sapply, 2, MANY, 0, |
1740 "Call FUNCTION with our remaining args, using our last arg as list of args.\n\ | 1740 "Call FUNCTION with our remaining args, using our last arg as list of args.\n\ |
1741 Then return the value FUNCTION returns.\n\ | |
1741 Thus, (apply '+ 1 2 '(3 4)) returns 10.") | 1742 Thus, (apply '+ 1 2 '(3 4)) returns 10.") |
1742 (nargs, args) | 1743 (nargs, args) |
1743 int nargs; | 1744 int nargs; |
1744 Lisp_Object *args; | 1745 Lisp_Object *args; |
1745 { | 1746 { |
1992 #endif /* not NO_ARG_ARRAY */ | 1993 #endif /* not NO_ARG_ARRAY */ |
1993 } | 1994 } |
1994 | 1995 |
1995 DEFUN ("funcall", Ffuncall, Sfuncall, 1, MANY, 0, | 1996 DEFUN ("funcall", Ffuncall, Sfuncall, 1, MANY, 0, |
1996 "Call first argument as a function, passing remaining arguments to it.\n\ | 1997 "Call first argument as a function, passing remaining arguments to it.\n\ |
1998 Return the value that function returns.\n\ | |
1997 Thus, (funcall 'cons 'x 'y) returns (x . y).") | 1999 Thus, (funcall 'cons 'x 'y) returns (x . y).") |
1998 (nargs, args) | 2000 (nargs, args) |
1999 int nargs; | 2001 int nargs; |
2000 Lisp_Object *args; | 2002 Lisp_Object *args; |
2001 { | 2003 { |