changeset 59171:7ef09783129b

(back_to_previous_visible_line_start): Don't call handle_display_prop.
author Richard M. Stallman <rms@gnu.org>
date Tue, 28 Dec 2004 17:52:51 +0000
parents 7b050423ba52
children 18c133f09829
files src/xdisp.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Tue Dec 28 17:41:10 2004 +0000
+++ b/src/xdisp.c	Tue Dec 28 17:52:51 2004 +0000
@@ -4598,6 +4598,9 @@
 	    visible_p = 0;
 	}
 
+#if 0
+      /* Commenting this out fixes the bug described in
+	 http://www.math.ku.dk/~larsh/emacs/emacs-loops-on-large-images/test-case.txt.  */
       if (visible_p)
 	{
 	  struct it it2 = *it;
@@ -4605,6 +4608,7 @@
 	  if (handle_display_prop (&it2) == HANDLED_RETURN)
 	    visible_p = 0;
 	}
+#endif
 
       /* Back one more newline if the current one is invisible.  */
       if (!visible_p)