]> git.eshelyaron.com Git - emacs.git/commit
Add late load pdumper hooks so these can call into Lisp
authorAndrea Corallo <akrl@sdf.org>
Wed, 10 Feb 2021 20:48:19 +0000 (21:48 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 10 Feb 2021 21:03:34 +0000 (22:03 +0100)
commit4fba79feee58e074d112bb47467913f9aec089c7
tree4db2dcf4a96b9c38f4e8f681bcb6dad2d4d6cc97
parent2fcb85c3e780f1f2871ce0f300cfaffce9836eb0
Add late load pdumper hooks so these can call into Lisp

* src/pdumper.h (pdumper_do_now_and_after_late_load): New function.
* src/pdumper.c (dump_late_hooks, nr_dump_late_hooks): New static
variables.
(dump_metadata_for_pdumper): Add support for late load hooks.
(pdumper_do_now_and_after_late_load_impl): New functions.
(pdumper_load): Add support for late load hooks.
* src/window.c (init_window_once): Register
'init_window_once_for_pdumper' to be executed after late load.
src/pdumper.c
src/pdumper.h
src/window.c