diff options
| author | Stefan Monnier | 2006-04-08 14:20:10 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2006-04-08 14:20:10 +0000 |
| commit | 15fdcac72248d850c39122eceaa322629f195eb0 (patch) | |
| tree | 1ab41e50006fcbcaebffe83db812f53c83d9f9da /src | |
| parent | d0ebe33a4a3b847df1a5ac270e098d287ec9fa21 (diff) | |
| download | emacs-15fdcac72248d850c39122eceaa322629f195eb0.tar.gz emacs-15fdcac72248d850c39122eceaa322629f195eb0.zip | |
(describe_map): Don't use XINT if we haven't checked INTEGERP.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keymap.c b/src/keymap.c index 73022ed2301..fa33fc34bc0 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -3343,7 +3343,7 @@ describe_map (map, prefix, elt_describer, partial, shadow, | |||
| 3343 | if (INTEGERP (vect[i].event)) | 3343 | if (INTEGERP (vect[i].event)) |
| 3344 | { | 3344 | { |
| 3345 | while (i + 1 < slots_used | 3345 | while (i + 1 < slots_used |
| 3346 | && XINT (vect[i + 1].event) == XINT (vect[i].event) + 1 | 3346 | && EQ (vect[i+1].event, make_number (XINT (vect[i].event) + 1)) |
| 3347 | && !NILP (Fequal (vect[i + 1].definition, definition)) | 3347 | && !NILP (Fequal (vect[i + 1].definition, definition)) |
| 3348 | && vect[i].shadowed == vect[i + 1].shadowed) | 3348 | && vect[i].shadowed == vect[i + 1].shadowed) |
| 3349 | i++; | 3349 | i++; |