bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Andrea Corallo
Subject: bug#54437: 28.0.92; command-modes returns nil for native compiled functions
Date: Sun, 20 Mar 2022 10:40:05 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Andrea Corallo <akrl@sdf.org> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]