1
0
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:
Richard M. Stallman 1996-09-04 15:40:46 +00:00
parent d2609065f8
commit 4a9f44cd82

View File

@ -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;