Mercurial > hg > xemacs-beta
diff src/data.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 | 721daee0fcd8 |
children | aa5ed11f473b |
line wrap: on
line diff
--- a/src/data.c Sun Sep 20 17:19:54 2009 +0100 +++ b/src/data.c Sun Sep 20 21:29:00 2009 +0100 @@ -999,6 +999,8 @@ DEFUN ("=", Feqlsign, 1, MANY, 0, /* Return t if all the arguments are numerically equal. The arguments may be numbers, characters or markers. + +arguments: (FIRST &rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -1013,6 +1015,8 @@ second, and so on.) At least one argument is required. The arguments may be numbers, characters or markers. + +arguments: (FIRST &rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -1027,6 +1031,8 @@ second, and so forth.) At least one argument is required. The arguments may be numbers, characters or markers. + +arguments: (FIRST &rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -1036,6 +1042,8 @@ DEFUN ("<=", Fleq, 1, MANY, 0, /* Return t if the sequence of arguments is monotonically nondecreasing. The arguments may be numbers, characters or markers. + +arguments: (FIRST &rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -1045,6 +1053,8 @@ DEFUN (">=", Fgeq, 1, MANY, 0, /* Return t if the sequence of arguments is monotonically nonincreasing. The arguments may be numbers, characters or markers. + +arguments: (FIRST &rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -1060,6 +1070,8 @@ DEFUN ("/=", Fneq, 1, MANY, 0, /* Return t if no two arguments are numerically equal. The arguments may be numbers, characters or markers. + +arguments: (FIRST &rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -1440,6 +1452,8 @@ DEFUN ("+", Fplus, 0, MANY, 0, /* Return sum of any number of arguments. The arguments should all be numbers, characters or markers. + +arguments: (&rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -1512,6 +1526,8 @@ Negate number or subtract numbers, characters or markers. With one arg, negates it. With more than one arg, subtracts all but the first from the first. + +arguments: (FIRST &rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -1634,6 +1650,8 @@ DEFUN ("*", Ftimes, 0, MANY, 0, /* Return product of any number of arguments. The arguments should all be numbers, characters or markers. + +arguments: (&rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -1706,6 +1724,8 @@ Note that this is a departure from Common Lisp, where / creates ratios when dividing integers. Having a separate function lets us avoid breaking existing Emacs Lisp code that expects / to do integer division. + +arguments: (FIRST &rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -1770,9 +1790,11 @@ #endif /* HAVE_RATIO */ DEFUN ("/", Fquo, 1, MANY, 0, /* -Return first argument divided by all the remaining arguments. +Return FIRST divided by all the remaining arguments. The arguments must be numbers, characters or markers. With one argument, reciprocates the argument. + +arguments: (FIRST &rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -1892,6 +1914,8 @@ All arguments must be real numbers, characters or markers. The value is always a number; markers and characters are converted to numbers. + +arguments: (FIRST &rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -1987,6 +2011,8 @@ All arguments must be numbers, characters or markers. The value is always a number; markers and characters are converted to numbers. + +arguments: (FIRST &rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -2080,6 +2106,8 @@ DEFUN ("logand", Flogand, 0, MANY, 0, /* Return bitwise-and of all the arguments. Arguments may be integers, or markers or characters converted to integers. + +arguments: (&rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -2130,6 +2158,8 @@ DEFUN ("logior", Flogior, 0, MANY, 0, /* Return bitwise-or of all the arguments. Arguments may be integers, or markers or characters converted to integers. + +arguments: (&rest ARGS) */ (int nargs, Lisp_Object *args)) { @@ -2180,6 +2210,8 @@ DEFUN ("logxor", Flogxor, 0, MANY, 0, /* Return bitwise-exclusive-or of all the arguments. Arguments may be integers, or markers or characters converted to integers. + +arguments: (&rest ARGS) */ (int nargs, Lisp_Object *args)) {