]> git.eshelyaron.com Git - emacs.git/commit
Do not install a subr trampoline twice
authorAndrea Corallo <akrl@sdf.org>
Wed, 23 Sep 2020 19:56:52 +0000 (21:56 +0200)
committerAndrea Corallo <akrl@sdf.org>
Thu, 24 Sep 2020 07:57:17 +0000 (09:57 +0200)
commit94736c413ff728833f260acf125ff3a572e270d6
tree3c556c908b04eb8b8429a4a8fcad9952edb80152
parentb94a0a931ee7963515c009e7e683e907897567bb
Do not install a subr trampoline twice

* src/comp.c (syms_of_comp): Define and initialize
'Vcomp_installed_trampolines_h'.
(Fcomp__install_trampoline): Fill 'Vcomp_installed_trampolines_h'
* lisp/emacs-lisp/comp.el (comp--subr-safe-advice): Make use of
`comp-installed-trampolines-h' to guard against installing a
trampoline twice.
lisp/emacs-lisp/comp.el
src/comp.c