(shadow_lookup): Use make_number to pass a number to Fsubstring.

This commit is contained in:
Ken Raeburn 2005-11-21 23:33:01 +00:00
parent bd24684be0
commit d7c0be75d3
2 changed files with 7 additions and 1 deletions

View file

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

View file

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