emacs-devel
[Top][All Lists]
Advanced

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

Re: current-active-maps doesn't look at emulation-mode-map-alists, why?


From: Stefan Monnier
Subject: Re: current-active-maps doesn't look at emulation-mode-map-alists, why?
Date: Fri, 23 Dec 2016 19:56:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> Any reason why current-active-maps doesn't return keymaps from
> emulation-mode-map-alists?

The most likely explanation is that this is a bug introduced when
emulation-mode-map-alists was added.

The intention was really to make all code that uses the active keymaps
(such as read-key-sequence or the computation of menubars and toolbars)
get it from current-active-maps, but this never happened, so we still
have that code duplication.


        Stefan




reply via email to

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