aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2011-08-22 21:58:42 +0200
committerJoakim Verona2011-08-22 21:58:42 +0200
commit478018d61a93447cfb85e66aaa656357ba120021 (patch)
tree4421dcb17a170ee775bc7ddc1ffe3f1844d3bb93 /src
parent31cb6a3b9092712bab0a1821e72e3b61b7105087 (diff)
parentdac347dd4a459bbbd7274f106797201e6e420701 (diff)
downloademacs-478018d61a93447cfb85e66aaa656357ba120021.tar.gz
emacs-478018d61a93447cfb85e66aaa656357ba120021.zip
upstream
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)))