# HG changeset patch # User Kim F. Storm # Date 1085609489 0 # Node ID de35aa92d3f3d7824b3f8cee176b169988470228 # Parent 6424fb556371a8db3f9da381ab1e774d0c684dbe (back_to_previous_visible_line_start): Skip backwards over display properties, e.g. images, that replace buffer text. diff -r 6424fb556371 -r de35aa92d3f3 src/xdisp.c --- a/src/xdisp.c Wed May 26 22:10:26 2004 +0000 +++ b/src/xdisp.c Wed May 26 22:11:29 2004 +0000 @@ -4563,6 +4563,14 @@ visible_p = 0; } + if (visible_p) + { + struct it it2 = *it; + + if (handle_display_prop (&it2) == HANDLED_RETURN) + visible_p = 0; + } + /* Back one more newline if the current one is invisible. */ if (!visible_p) back_to_previous_line_start (it);