(shadow_lookup): Use make_number to pass a number to Fsubstring.
This commit is contained in:
parent
bd24684be0
commit
d7c0be75d3
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-11-21 Ken Raeburn <raeburn@mit.edu>
|
||||
|
||||
* keymap.c (shadow_lookup): Use make_number to pass a number to
|
||||
Fsubstring.
|
||||
|
||||
2005-11-21 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* puresize.h (BASE_PURESIZE): Increment to 1180000.
|
||||
|
|
|
@ -2379,7 +2379,8 @@ shadow_lookup (shadow, key, flag)
|
|||
value = Flookup_key (XCAR (tail), key, flag);
|
||||
if (NATNUMP (value))
|
||||
{
|
||||
value = Flookup_key (XCAR (tail), Fsubstring (key, 0, value), flag);
|
||||
value = Flookup_key (XCAR (tail),
|
||||
Fsubstring (key, make_number (0), value), flag);
|
||||
if (!NILP (value))
|
||||
return Qnil;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue