From 93fdf45f6514ddd7643583ed35b191d2776f1553 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 28 Dec 2004 17:55:12 +0000 Subject: [PATCH] (back_to_previous_visible_line_start): Don't call handle_display_prop. --- src/ChangeLog | 5 +++++ src/xdisp.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 0e9d8644868..d68b775967d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-12-28 Richard M. Stallman + + * xdisp.c (back_to_previous_visible_line_start): + Don't call handle_display_prop. + 2004-12-28 Dan Nicolaescu * coding.c (decode_coding_XXX, decode_composition_emacs_mule) diff --git a/src/xdisp.c b/src/xdisp.c index d485dc59b57..d2f6b2234c7 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -4598,6 +4598,9 @@ back_to_previous_visible_line_start (it) 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 @@ back_to_previous_visible_line_start (it) if (handle_display_prop (&it2) == HANDLED_RETURN) visible_p = 0; } +#endif /* Back one more newline if the current one is invisible. */ if (!visible_p) -- 2.39.2