changeset 55777:de35aa92d3f3

(back_to_previous_visible_line_start): Skip backwards over display properties, e.g. images, that replace buffer text.
author Kim F. Storm <storm@cua.dk>
date Wed, 26 May 2004 22:11:29 +0000
parents 6424fb556371
children f4d8fa42ea58 85232760f917
files src/xdisp.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);