]> git.eshelyaron.com Git - emacs.git/commit
Prevent unnecessary multiple .el hashing in 'maybe_swap_for_eln'
authorAndrea Corallo <akrl@sdf.org>
Sun, 21 Mar 2021 19:40:45 +0000 (20:40 +0100)
committerAndrea Corallo <akrl@sdf.org>
Sun, 21 Mar 2021 19:45:03 +0000 (20:45 +0100)
commit5aa42f686c635e3b3f6cea8270e3c6fc2e4270f9
tree6ba6f4694f35930cb9990ebb9309730015c4ae8d
parentec12cdd19732d9ad2be313cc93c17766ec62118f
Prevent unnecessary multiple .el hashing in 'maybe_swap_for_eln'

* src/comp.c (Fcomp_el_to_eln_rel_filename): New function.
(Fcomp_el_to_eln_filename): Make use of.
(syms_of_comp): Register 'Scomp_el_to_eln_rel_filename'.
* src/lread.c (maybe_swap_for_eln): Make use of
'Fcomp_el_to_eln_rel_filename' to hash prevent unnecessary
multiple hashing.
src/comp.c
src/lread.c