aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c27
1 files changed, 18 insertions, 9 deletions
diff --git a/src/data.c b/src/data.c
index e56512370e0..a974d0631a8 100644
--- a/src/data.c
+++ b/src/data.c
@@ -2531,7 +2531,8 @@ float_arith_driver (accum, argnum, code, nargs, args)
2531 2531
2532 2532
2533DEFUN ("+", Fplus, Splus, 0, MANY, 0, 2533DEFUN ("+", Fplus, Splus, 0, MANY, 0,
2534 "Return sum of any number of arguments, which are numbers or markers.") 2534 "Return sum of any number of arguments, which are numbers or markers.
2535usage: (+ &rest NUMBERS-OR-MARKERS)")
2535 (nargs, args) 2536 (nargs, args)
2536 int nargs; 2537 int nargs;
2537 Lisp_Object *args; 2538 Lisp_Object *args;
@@ -2542,7 +2543,8 @@ DEFUN ("+", Fplus, Splus, 0, MANY, 0,
2542DEFUN ("-", Fminus, Sminus, 0, MANY, 0, 2543DEFUN ("-", Fminus, Sminus, 0, MANY, 0,
2543 "Negate number or subtract numbers or markers.\n\ 2544 "Negate number or subtract numbers or markers.\n\
2544With one arg, negates it. With more than one arg,\n\ 2545With one arg, negates it. With more than one arg,\n\
2545subtracts all but the first from the first.") 2546subtracts all but the first from the first.
2547usage: (- &optional NUMBER-OR-MARKER &rest MORE-NUMBERS-OR-MARKERS)")
2546 (nargs, args) 2548 (nargs, args)
2547 int nargs; 2549 int nargs;
2548 Lisp_Object *args; 2550 Lisp_Object *args;
@@ -2551,7 +2553,8 @@ subtracts all but the first from the first.")
2551} 2553}
2552 2554
2553DEFUN ("*", Ftimes, Stimes, 0, MANY, 0, 2555DEFUN ("*", Ftimes, Stimes, 0, MANY, 0,
2554 "Returns product of any number of arguments, which are numbers or markers.") 2556 "Returns product of any number of arguments, which are numbers or markers.
2557usage: (* &rest NUMBERS-OR-MARKERS)")
2555 (nargs, args) 2558 (nargs, args)
2556 int nargs; 2559 int nargs;
2557 Lisp_Object *args; 2560 Lisp_Object *args;
@@ -2561,7 +2564,8 @@ DEFUN ("*", Ftimes, Stimes, 0, MANY, 0,
2561 2564
2562DEFUN ("/", Fquo, Squo, 2, MANY, 0, 2565DEFUN ("/", Fquo, Squo, 2, MANY, 0,
2563 "Returns first argument divided by all the remaining arguments.\n\ 2566 "Returns first argument divided by all the remaining arguments.\n\
2564The arguments must be numbers or markers.") 2567The arguments must be numbers or markers.
2568usage: (/ DIVIDEND DIVISOR &rest DIVISORS)")
2565 (nargs, args) 2569 (nargs, args)
2566 int nargs; 2570 int nargs;
2567 Lisp_Object *args; 2571 Lisp_Object *args;
@@ -2644,7 +2648,8 @@ Both X and Y must be numbers or markers.")
2644 2648
2645DEFUN ("max", Fmax, Smax, 1, MANY, 0, 2649DEFUN ("max", Fmax, Smax, 1, MANY, 0,
2646 "Return largest of all the arguments (which must be numbers or markers).\n\ 2650 "Return largest of all the arguments (which must be numbers or markers).\n\
2647The value is always a number; markers are converted to numbers.") 2651The value is always a number; markers are converted to numbers.
2652usage: (max NUMBER-OR-MARKER &rest NUMBERS-OR-MARKERS)")
2648 (nargs, args) 2653 (nargs, args)
2649 int nargs; 2654 int nargs;
2650 Lisp_Object *args; 2655 Lisp_Object *args;
@@ -2654,7 +2659,8 @@ The value is always a number; markers are converted to numbers.")
2654 2659
2655DEFUN ("min", Fmin, Smin, 1, MANY, 0, 2660DEFUN ("min", Fmin, Smin, 1, MANY, 0,
2656 "Return smallest of all the arguments (which must be numbers or markers).\n\ 2661 "Return smallest of all the arguments (which must be numbers or markers).\n\
2657The value is always a number; markers are converted to numbers.") 2662The value is always a number; markers are converted to numbers.
2663usage: (min NUMBER-OR-MARKER &rest NUMBERS-OR-MARKERS)")
2658 (nargs, args) 2664 (nargs, args)
2659 int nargs; 2665 int nargs;
2660 Lisp_Object *args; 2666 Lisp_Object *args;
@@ -2664,7 +2670,8 @@ The value is always a number; markers are converted to numbers.")
2664 2670
2665DEFUN ("logand", Flogand, Slogand, 0, MANY, 0, 2671DEFUN ("logand", Flogand, Slogand, 0, MANY, 0,
2666 "Return bitwise-and of all the arguments.\n\ 2672 "Return bitwise-and of all the arguments.\n\
2667Arguments may be integers, or markers converted to integers.") 2673Arguments may be integers, or markers converted to integers.
2674usage: (logand &rest INTS-OR-MARKERS)")
2668 (nargs, args) 2675 (nargs, args)
2669 int nargs; 2676 int nargs;
2670 Lisp_Object *args; 2677 Lisp_Object *args;
@@ -2674,7 +2681,8 @@ Arguments may be integers, or markers converted to integers.")
2674 2681
2675DEFUN ("logior", Flogior, Slogior, 0, MANY, 0, 2682DEFUN ("logior", Flogior, Slogior, 0, MANY, 0,
2676 "Return bitwise-or of all the arguments.\n\ 2683 "Return bitwise-or of all the arguments.\n\
2677Arguments may be integers, or markers converted to integers.") 2684Arguments may be integers, or markers converted to integers.
2685usage: (logior &rest INTS-OR-MARKERS)")
2678 (nargs, args) 2686 (nargs, args)
2679 int nargs; 2687 int nargs;
2680 Lisp_Object *args; 2688 Lisp_Object *args;
@@ -2684,7 +2692,8 @@ Arguments may be integers, or markers converted to integers.")
2684 2692
2685DEFUN ("logxor", Flogxor, Slogxor, 0, MANY, 0, 2693DEFUN ("logxor", Flogxor, Slogxor, 0, MANY, 0,
2686 "Return bitwise-exclusive-or of all the arguments.\n\ 2694 "Return bitwise-exclusive-or of all the arguments.\n\
2687Arguments may be integers, or markers converted to integers.") 2695Arguments may be integers, or markers converted to integers.
2696usage: (logxor &rest INTS-OR-MARKERS)")
2688 (nargs, args) 2697 (nargs, args)
2689 int nargs; 2698 int nargs;
2690 Lisp_Object *args; 2699 Lisp_Object *args;