Utility function to make a list from specified amount of objects.
commit694b6c97ebb8310bc18dd305c2f277bcc11cebca
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 27 Jul 2012 06:04:35 +0000 (27 10:04 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Fri, 27 Jul 2012 06:04:35 +0000 (27 10:04 +0400)
treee8c401a50de10b8b14397a22c7e501f0291a17f5
parentca1302a40a560521627fd6a2954a51a79d105a16
Utility function to make a list from specified amount of objects.
* lisp.h (enum constype): New datatype.
(listn): New prototype.
* alloc.c (listn): New function.
(Fmemory_use_count, syms_of_alloc): Use it.
* buffer.c (syms_of_buffer): Likewise.
* callint.c (syms_of_callint): Likewise.
* charset.c (define_charset_internal): Likewise.
* coding.c (syms_of_coding): Likewise.
* keymap.c (syms_of_keymap): Likewise.
* search.c (syms_of_search): Likewise.
* syntax.c (syms_of_syntax): Likewise.
* w32.c (init_environment): Likewise.
* w32fns.c (Fw32_battery_status, syms_of_w32fns): Likewise.
* xdisp.c (syms_of_xdisp): Likewise.
* xfns.c (syms_of_xfns): Likewise.
14 files changed:
src/ChangeLog
src/alloc.c
src/buffer.c
src/callint.c
src/charset.c
src/coding.c
src/keymap.c
src/lisp.h
src/search.c
src/syntax.c
src/w32.c
src/w32fns.c
src/xdisp.c
src/xfns.c