Index: emacs/src/xdisp.c
diff -c emacs/src/xdisp.c:1.1005 emacs/src/xdisp.c:1.1006
*** emacs/src/xdisp.c:1.1005 Sun May 1 21:42:34 2005
--- emacs/src/xdisp.c Mon May 2 09:14:38 2005
***************
*** 5880,5885 ****
--- 5880,5886 ----
/* Stop if we move beyond TO_CHARPOS (after an image or stretch glyph).
*/
if ((op & MOVE_TO_POS) != 0
&& BUFFERP (it->object)
+ && it->method == GET_FROM_BUFFER
&& IT_CHARPOS (*it) > to_charpos)
{
result = MOVE_POS_MATCH_OR_ZV;
_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs