On Fri, Aug 29, 2025 at 7:43 AM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

bind-map shouldn't use an internal variable like that.

+1, tho maybe bind-map has a good reason to do that. Does anyone know something about that?


It was in a commit with this message:

Fix evil-local-mode-hook logic
Can't be sure that the override modes are enabled before this hook is
run so we check if the global mode is enabled and if the local mode is
set explicitly in a prior hook (presumably a major mode hook).

https://github.com/justbur/emacs-bind-map/commit/89747f7240e5f51084fd94aad502d67f426e03b4