Commit 6c0afe12 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(back_to_previous_visible_line_start): Skip backwards

over display properties, e.g. images, that replace buffer text.
parent 1e8dae36
......@@ -4563,6 +4563,14 @@ back_to_previous_visible_line_start (it)
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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment