aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 0b7db7ec627..c7fd8747f74 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -2945,10 +2945,19 @@ usage: (vector &rest OBJECTS) */)
2945 2945
2946DEFUN ("make-byte-code", Fmake_byte_code, Smake_byte_code, 4, MANY, 0, 2946DEFUN ("make-byte-code", Fmake_byte_code, Smake_byte_code, 4, MANY, 0,
2947 doc: /* Create a byte-code object with specified arguments as elements. 2947 doc: /* Create a byte-code object with specified arguments as elements.
2948The arguments should be the arglist, bytecode-string, constant vector, 2948The arguments should be the ARGLIST, bytecode-string BYTE-CODE, constant
2949stack size, (optional) doc string, and (optional) interactive spec. 2949vector CONSTANTS, maximum stack size DEPTH, (optional) DOCSTRING,
2950and (optional) INTERACTIVE-SPEC.
2950The first four arguments are required; at most six have any 2951The first four arguments are required; at most six have any
2951significance. 2952significance.
2953The ARGLIST can be either like the one of `lambda', in which case the arguments
2954will be dynamically bound before executing the byte code, or it can be an
2955integer of the form NNNNNNNRMMMMMMM where the 7bit MMMMMMM specifies the
2956minimum number of arguments, the 7-bit NNNNNNN specifies the maximum number
2957of arguments (ignoring &rest) and the R bit specifies whether there is a &rest
2958argument to catch the left-over arguments. If such an integer is used, the
2959arguments will not be dynamically bound but will be instead pushed on the
2960stack before executing the byte-code.
2952usage: (make-byte-code ARGLIST BYTE-CODE CONSTANTS DEPTH &optional DOCSTRING INTERACTIVE-SPEC &rest ELEMENTS) */) 2961usage: (make-byte-code ARGLIST BYTE-CODE CONSTANTS DEPTH &optional DOCSTRING INTERACTIVE-SPEC &rest ELEMENTS) */)
2953 (register int nargs, Lisp_Object *args) 2962 (register int nargs, Lisp_Object *args)
2954{ 2963{