Mercurial > hg > xemacs-beta
diff src/alloc.c @ 4693:80cd90837ac5
Add argument information to remaining MANY or UNEVALLED C subrs.
src/ChangeLog addition:
2009-09-20 Aidan Kehoe <kehoea@parhasard.net>
* alloc.c (Flist):
(Fvector):
(Fbit_vector):
(Fmake_byte_code):
(Fstring):
* data.c (Feqlsign):
(Flss):
(Fgtr):
(Fleq):
(Fgeq):
(Fneq):
(Fgtr):
(Fplus):
(Fminus):
(Ftimes):
(Fdiv):
(Fquo):
(Fmax):
(Fmin):
(Flogand):
(Flogior):
(Flogxor):
* editfns.c (Fsave_excursion):
(Fsave_current_buffer):
(Fencode_time):
(Finsert):
(Finsert_before_markers):
(Fsave_restriction):
(Fformat):
* elhash.c (Fmake_hash_table):
* eval.c (Fdefun):
(Fdefmacro):
(Fcatch):
(Funwind_protect):
(Fcall_with_condition_handler):
(Ffuncall):
(Fapply):
(Frun_hooks):
* fns.c (Fappend):
(Fconcat):
(Fvconcat):
(Fbvconcat):
(Fnconc):
* print.c (Fwith_output_to_temp_buffer):
* process.c (Fstart_process_internal):
* window.c (Fsave_window_excursion):
* widget.c (Fwidget_apply):
Add argument information, in a form understood by
#'function-arglist, to all these MANY or UNEVALLED (that is to
say, special-operator) built-in functions.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 20 Sep 2009 21:29:00 +0100 |
parents | 8b1d806afbb3 |
children | 80d74fed5399 |
line wrap: on
line diff
--- a/src/alloc.c Sun Sep 20 17:19:54 2009 +0100 +++ b/src/alloc.c Sun Sep 20 21:29:00 2009 +0100 @@ -1294,8 +1294,10 @@ } DEFUN ("list", Flist, 0, MANY, 0, /* -Return a newly created list with specified arguments as elements. +Return a newly created list with specified ARGS as elements. Any number of arguments, even zero arguments, are allowed. + +arguments: (&rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -1617,8 +1619,10 @@ } DEFUN ("vector", Fvector, 0, MANY, 0, /* -Return a newly created vector with specified arguments as elements. +Return a newly created vector with specified ARGS as elements. Any number of arguments, even zero arguments, are allowed. + +arguments: (&rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -1798,9 +1802,11 @@ } DEFUN ("bit-vector", Fbit_vector, 0, MANY, 0, /* -Return a newly created bit vector with specified arguments as elements. +Return a newly created bit vector with specified ARGS as elements. Any number of arguments, even zero arguments, are allowed. Each argument must be one of the integers 0 or 1. + +arguments: (&rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -1855,8 +1861,6 @@ DEFUN ("make-byte-code", Fmake_byte_code, 4, MANY, 0, /* Return a new compiled-function object. -Usage: (arglist instructions constants stack-depth - &optional doc-string interactive) Note that, unlike all other emacs-lisp functions, calling this with five arguments is NOT the same as calling it with six arguments, the last of which is nil. If the INTERACTIVE arg is specified as nil, then that means @@ -1864,6 +1868,8 @@ specified, then that means the function is not interactive. This is terrible behavior which is retained for compatibility with old `.elc' files which expect these semantics. + +arguments: (ARGLIST INSTRUCTIONS CONSTANTS STACK-DEPTH &optional DOC-STRING INTERACTIVE) */ (int nargs, Lisp_Object *args)) { @@ -2802,6 +2808,8 @@ DEFUN ("string", Fstring, 0, MANY, 0, /* Concatenate all the argument characters and make the result a string. + +arguments: (&rest ARGS) */ (int nargs, Lisp_Object *args)) {