]> git.eshelyaron.com Git - emacs.git/commit
Have `native-elisp-load' return the last registerd function
authorAndrea Corallo <akrl@sdf.org>
Mon, 12 Oct 2020 20:11:06 +0000 (22:11 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 14 Oct 2020 09:04:36 +0000 (11:04 +0200)
commit8861ee8b087b4e5d9ac9186a2c2d8e44b07fc186
treecdee0aeb80bbbc7454bbe6475a743bfd12ee9ae8
parent4bea0c0b1d907d676cc9abc8d7048103c10b8d79
Have `native-elisp-load' return the last registerd function

* lisp/emacs-lisp/comp.el (comp-emit-for-top-level): Synthesize
'top_level_run' so it returns the last value returned by
`comp--register-subr'.
* src/comp.c (load_comp_unit): Return what 'top_level_run'
returns.
(Fnative_elisp_load): Return what 'load_comp_unit' returns.
* src/comp.h (load_comp_unit): Update signature.
lisp/emacs-lisp/comp.el
src/comp.c
src/comp.h