]> git.eshelyaron.com Git - emacs.git/commit
Lazy load function documentation.
authorAndrea Corallo <akrl@sdf.org>
Sat, 25 Apr 2020 17:16:17 +0000 (18:16 +0100)
committerAndrea Corallo <akrl@sdf.org>
Sat, 25 Apr 2020 18:55:39 +0000 (19:55 +0100)
commita7fac2e91fb424fcf47ea8a23c218c272dd83434
tree620e5295a71b246e191a7f61c756d9e0f8ad985d
parentf691af80f1c2073e610a382029790f7c6f97dd5d
Lazy load function documentation.

* src/comp.c (native_function_doc): New function.
(load_comp_unit): Do not load function doc during load.

* src/comp.h: Extern 'native_function_doc'.

* src/doc.c (Fdocumentation): Call 'native_function_doc' to
retrive function doc.

* src/pdumper.c (dump_native_comp_unit): Zero 'data_fdoc_h' before
dumping.
src/comp.c
src/comp.h
src/doc.c
src/pdumper.c