Mercurial > emacs
diff src/keymap.c @ 67070:c83903b9e676
(shadow_lookup): Use make_number to pass a number to Fsubstring.
| author | Ken Raeburn <raeburn@raeburn.org> |
|---|---|
| date | Mon, 21 Nov 2005 23:32:12 +0000 |
| parents | 3f4ee1926eb1 |
| children | 134dc8d03e55 69e184bbba16 |
line wrap: on
line diff
--- a/src/keymap.c Mon Nov 21 22:24:13 2005 +0000 +++ b/src/keymap.c Mon Nov 21 23:32:12 2005 +0000 @@ -2379,7 +2379,8 @@ 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; }
