Mercurial > emacs
comparison src/xdisp.c @ 89512:b475b083a0ad
(handle_composition_prop, check_point_in_composition):
Make buffer positions EMACS_INT.
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 17 Sep 2003 13:52:05 +0000 |
parents | 2f877ed80fa6 |
children | 7b8489e2f8f8 |
comparison
equal
deleted
inserted
replaced
89511:bae1254b8517 | 89512:b475b083a0ad |
---|---|
3812 static enum prop_handled | 3812 static enum prop_handled |
3813 handle_composition_prop (it) | 3813 handle_composition_prop (it) |
3814 struct it *it; | 3814 struct it *it; |
3815 { | 3815 { |
3816 Lisp_Object prop, string; | 3816 Lisp_Object prop, string; |
3817 int pos, pos_byte, end; | 3817 EMACS_INT pos, pos_byte, end; |
3818 enum prop_handled handled = HANDLED_NORMALLY; | 3818 enum prop_handled handled = HANDLED_NORMALLY; |
3819 | 3819 |
3820 if (STRINGP (it->string)) | 3820 if (STRINGP (it->string)) |
3821 { | 3821 { |
3822 pos = IT_STRING_CHARPOS (*it); | 3822 pos = IT_STRING_CHARPOS (*it); |
9501 int | 9501 int |
9502 check_point_in_composition (prev_buf, prev_pt, buf, pt) | 9502 check_point_in_composition (prev_buf, prev_pt, buf, pt) |
9503 struct buffer *prev_buf, *buf; | 9503 struct buffer *prev_buf, *buf; |
9504 int prev_pt, pt; | 9504 int prev_pt, pt; |
9505 { | 9505 { |
9506 int start, end; | 9506 EMACS_INT start, end; |
9507 Lisp_Object prop; | 9507 Lisp_Object prop; |
9508 Lisp_Object buffer; | 9508 Lisp_Object buffer; |
9509 | 9509 |
9510 XSETBUFFER (buffer, buf); | 9510 XSETBUFFER (buffer, buf); |
9511 /* Check a composition at the last point if point moved within the | 9511 /* Check a composition at the last point if point moved within the |