HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2517042
)
(read_key_sequence): Extract local map only if the
author
Chong Yidong
<cyd@stupidchicken.com>
Sat, 20 Jan 2007 02:11:03 +0000
(
02:11
+0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Sat, 20 Jan 2007 02:11:03 +0000
(
02:11
+0000)
given position is in an accessible buffer region.
src/keyboard.c
patch
|
blob
|
blame
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index
f8f7511
..
8b53a6e
100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-9286,7
+9286,8
@@
read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last,
{
pos = POSN_BUFFER_POSN (start);
if (INTEGERP (pos)
- && XINT (pos) >= BEG && XINT (pos) <= Z)
+ && XINT (pos) >= BEGV
+ && XINT (pos) <= ZV)
{
map_here = get_local_map (XINT (pos),
current_buffer, Qlocal_map);