Subject: bug#54437: 28.0.92; command-modes returns nil for native compiled functions

From: Andrea Corallo <[email-masked]>
Date: Sun, 20 Mar 2022 10:40:05 +0000

Lars Ingebrigtsen <[email-masked]> writes:

> Andrea Corallo <[email-masked]> writes:
>
>> I just have a question for Lars, couldn't we just use and hash table to
>> map function-name -> modes?  Maybe this way the fix would be
>> considerably less invasive?
>
> Something would have to keep the table updated.

Yes, we'd still need to store the information in each .eln and update
the value of this new global hash table each time (probably in
comp--register-subr).  So some C should be modified anyway even if
(maybe?) less, I doubt is doable in the realease branch at this point
anyway.

  Andrea