HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d260906
)
(get_local_map): Call indirect-function.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 4 Sep 1996 15:40:46 +0000
(15:40 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 4 Sep 1996 15:40:46 +0000
(15:40 +0000)
src/intervals.c
patch
|
blob
|
blame
|
history
diff --git
a/src/intervals.c
b/src/intervals.c
index
00c7395
..
0cc28ac
100644
(file)
--- a/
src/intervals.c
+++ b/
src/intervals.c
@@
-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;