emacs-devel
[Top][All Lists]
Advanced

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

Re: Caching where-is-internal


From: Stefan Monnier
Subject: Re: Caching where-is-internal
Date: Mon, 24 May 2021 16:33:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> This makes sense. Thanks. Then we have to figure out why this spurious
> cache flush happens.

The cache checks that the set of active keymaps is the same as
last time `where-is-internal` was called.
So if the set of active keymaps is different, the cache will be flushed.

Otherwise, the cache is also flushed by `set-keymap-parent` and
`define-key` (search for `where_is_cache` in src/keymap.c for details).


        Stefan




reply via email to

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