mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-01 20:06:00 +00:00
(get_local_map): Call indirect-function.
This commit is contained in:
parent
d2609065f8
commit
4a9f44cd82
@ -1789,6 +1789,9 @@ get_local_map (position, buffer)
|
||||
BUF_ZV (buffer) = old_zv;
|
||||
|
||||
/* Use the local map only if it is valid. */
|
||||
/* Do allow symbols that are defined as keymaps. */
|
||||
if (SYMBOLP (prop) && !NILP (prop))
|
||||
prop = Findirect_function (prop);
|
||||
if (!NILP (prop)
|
||||
&& (tem = Fkeymapp (prop), !NILP (tem)))
|
||||
return prop;
|
||||
|
Loading…
Reference in New Issue
Block a user