aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/xdisp.c7
2 files changed, 12 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 243a39af45d..e3cf7546962 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12011-08-22 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (BUFFER_POS_REACHED_P): If this is a composition,
4 consider it a hit if to_charpos is anywhere in the range of the
5 composed buffer positions.
6
12011-08-22 Chong Yidong <cyd@stupidchicken.com> 72011-08-22 Chong Yidong <cyd@stupidchicken.com>
2 8
3 * image.c (gif_load): Don't assume that each subimage has the same 9 * image.c (gif_load): Don't assume that each subimage has the same
diff --git a/src/xdisp.c b/src/xdisp.c
index 2cd1bb9bfdb..5ce8cbf8d9b 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -7753,7 +7753,12 @@ move_it_in_display_line_to (struct it *it,
7753 ((op & MOVE_TO_POS) != 0 \ 7753 ((op & MOVE_TO_POS) != 0 \
7754 && BUFFERP (it->object) \ 7754 && BUFFERP (it->object) \
7755 && (IT_CHARPOS (*it) == to_charpos \ 7755 && (IT_CHARPOS (*it) == to_charpos \
7756 || (!it->bidi_p && IT_CHARPOS (*it) > to_charpos)) \ 7756 || (!it->bidi_p && IT_CHARPOS (*it) > to_charpos) \
7757 || (it->what == IT_COMPOSITION \
7758 && ((IT_CHARPOS (*it) > to_charpos \
7759 && to_charpos >= it->cmp_it.charpos) \
7760 || (IT_CHARPOS (*it) < to_charpos \
7761 && to_charpos <= it->cmp_it.charpos)))) \
7757 && (it->method == GET_FROM_BUFFER \ 7762 && (it->method == GET_FROM_BUFFER \
7758 || (it->method == GET_FROM_DISPLAY_VECTOR \ 7763 || (it->method == GET_FROM_DISPLAY_VECTOR \
7759 && it->dpvec + it->current.dpvec_index + 1 >= it->dpend))) 7764 && it->dpvec + it->current.dpvec_index + 1 >= it->dpend)))