Mercurial > emacs
comparison src/keymap.c @ 69870:bc9116711ea3
(describe_map): Don't use XINT if we haven't checked INTEGERP.
| author | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| date | Sat, 08 Apr 2006 14:20:10 +0000 |
| parents | f646e7ad8c27 |
| children | 61d8c79b3c79 81f2d90dee68 65ca8fb66a0d |
comparison
equal
deleted
inserted
replaced
| 69869:89bc86c44d7c | 69870:bc9116711ea3 |
|---|---|
| 3341 | 3341 |
| 3342 /* Find consecutive chars that are identically defined. */ | 3342 /* Find consecutive chars that are identically defined. */ |
| 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++; |
| 3350 end = vect[i].event; | 3350 end = vect[i].event; |
| 3351 } | 3351 } |
