diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/alloc.c b/src/alloc.c index a58824fb0f3..fad84b8a0b3 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -3411,8 +3411,9 @@ allocate_record (EMACS_INT count) | |||
| 3411 | 3411 | ||
| 3412 | DEFUN ("make-record", Fmake_record, Smake_record, 3, 3, 0, | 3412 | DEFUN ("make-record", Fmake_record, Smake_record, 3, 3, 0, |
| 3413 | doc: /* Create a new record. | 3413 | doc: /* Create a new record. |
| 3414 | TYPE is its type as returned by `type-of'. SLOTS is the number of | 3414 | TYPE is its type as returned by `type-of'; it should be either a |
| 3415 | non-type slots, each initialized to INIT. */) | 3415 | symbol or a type descriptor. SLOTS is the number of non-type slots, |
| 3416 | each initialized to INIT. */) | ||
| 3416 | (Lisp_Object type, Lisp_Object slots, Lisp_Object init) | 3417 | (Lisp_Object type, Lisp_Object slots, Lisp_Object init) |
| 3417 | { | 3418 | { |
| 3418 | CHECK_NATNUM (slots); | 3419 | CHECK_NATNUM (slots); |
| @@ -3427,8 +3428,9 @@ non-type slots, each initialized to INIT. */) | |||
| 3427 | 3428 | ||
| 3428 | DEFUN ("record", Frecord, Srecord, 1, MANY, 0, | 3429 | DEFUN ("record", Frecord, Srecord, 1, MANY, 0, |
| 3429 | doc: /* Create a new record. | 3430 | doc: /* Create a new record. |
| 3430 | TYPE is its type as returned by `type-of'. SLOTS is used to | 3431 | TYPE is its type as returned by `type-of'; it should be either a |
| 3431 | initialize the record slots with shallow copies of the arguments. | 3432 | symbol or a type descriptor. SLOTS is used to initialize the record |
| 3433 | slots with shallow copies of the arguments. | ||
| 3432 | usage: (record TYPE &rest SLOTS) */) | 3434 | usage: (record TYPE &rest SLOTS) */) |
| 3433 | (ptrdiff_t nargs, Lisp_Object *args) | 3435 | (ptrdiff_t nargs, Lisp_Object *args) |
| 3434 | { | 3436 | { |