Mercurial > emacs
changeset 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 | 962ab95567f0 |
children | cd4f2c07ccbc |
files | src/keymap.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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; }