aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn2005-11-21 23:33:01 +0000
committerKen Raeburn2005-11-21 23:33:01 +0000
commitd7c0be75d37fe07fefbb0be1333da9bade496fb2 (patch)
tree97931109662089fcf98be83b629fb3bf434f8273 /src
parentbd24684be07da191e3481caaa360035e287a6bea (diff)
downloademacs-d7c0be75d37fe07fefbb0be1333da9bade496fb2.tar.gz
emacs-d7c0be75d37fe07fefbb0be1333da9bade496fb2.zip
(shadow_lookup): Use make_number to pass a number to Fsubstring.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/keymap.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 74e6a168043..105a03a2b8c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12005-11-21 Ken Raeburn <raeburn@mit.edu>
2
3 * keymap.c (shadow_lookup): Use make_number to pass a number to
4 Fsubstring.
5
12005-11-21 Juri Linkov <juri@jurta.org> 62005-11-21 Juri Linkov <juri@jurta.org>
2 7
3 * puresize.h (BASE_PURESIZE): Increment to 1180000. 8 * puresize.h (BASE_PURESIZE): Increment to 1180000.
diff --git a/src/keymap.c b/src/keymap.c
index f2370225ab8..311a70f25e8 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -2379,7 +2379,8 @@ shadow_lookup (shadow, key, flag)
2379 value = Flookup_key (XCAR (tail), key, flag); 2379 value = Flookup_key (XCAR (tail), key, flag);
2380 if (NATNUMP (value)) 2380 if (NATNUMP (value))
2381 { 2381 {
2382 value = Flookup_key (XCAR (tail), Fsubstring (key, 0, value), flag); 2382 value = Flookup_key (XCAR (tail),
2383 Fsubstring (key, make_number (0), value), flag);
2383 if (!NILP (value)) 2384 if (!NILP (value))
2384 return Qnil; 2385 return Qnil;
2385 } 2386 }