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

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

bug#25189: Use `current-global-map' in `comint-insert-input'


From: Alexander Shukaev
Subject: bug#25189: Use `current-global-map' in `comint-insert-input'
Date: Mon, 16 Dec 2019 02:58:04 +0100

On 7/27/19 1:29 PM, Lars Ingebrigtsen wrote:
Alexander Shukaev <emacs@Alexander.Shukaev.name> writes:

I think according to Emacs documentation it's more correct to change the

(lookup-key global-map (vector last-key))

form to the

(lookup-key (current-global-map) (vector last-key))

form.

(I'm going through older Emacs bug reports that have received no
response.)

Looking at the manual section in "Controlling Active Maps", there
doesn't seem to be anything to discourage using `global-map' directly
there.  I've grepped through the sources, though, and `global-map' is
used all over the place (while `current-global-map' is used less).

So this doesn't seem like something to be fixed, and I'm closing this
bug report.


I believe you want to see the documentation of `global-map' for that point.





reply via email to

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