[Top][All Lists]

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

bug#13948: no key-binding-locus

From: Stefan Monnier
Subject: bug#13948: no key-binding-locus
Date: Fri, 06 Jun 2014 14:27:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

>> This list of advertized vars could be built dynamically mimicking
>> current-active-maps.
> I don't know how to do that.

You need to do it heuristically.
E.g. the list would look like

    (list 'global-map (intern (format "%s-map" major-mode)) ...)

> I could make a list of (intern (format "%s-map" major-mode)) and (intern
> (format "%s-map" minor-mode)) for currently active minor-modes and check
> in those.

That's right.

> But that will not solve the global map problem, so it still
> needs some special casing.

The global map should be in `global-map'.


reply via email to

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