emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d39f0a165a7: * src/xdisp.c (note_fringe_highlight): Another attem


From: Eli Zaretskii
Subject: master d39f0a165a7: * src/xdisp.c (note_fringe_highlight): Another attempt to fix bug#70385.
Date: Tue, 16 Apr 2024 14:24:19 -0400 (EDT)

branch: master
commit d39f0a165a7f87336990e3304f1a8fa455a61600
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    * src/xdisp.c (note_fringe_highlight): Another attempt to fix bug#70385.
---
 src/xdisp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index f8c8d763c5b..3db8d64f731 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -35775,7 +35775,8 @@ note_fringe_highlight (struct frame *f, Lisp_Object 
window, int x, int y,
   /* Don't access the TEXT_AREA of a row that does not display text,
      when the window is outdated, or when vpos overflows the current
      matrix.  (bug#70385) */
-  if (window_outdated (w)
+  if (!w->window_end_valid
+      || window_outdated (w)
       || (vpos >= w->current_matrix->nrows)
       || !MATRIX_ROW_DISPLAYS_TEXT_P (MATRIX_ROW (w->current_matrix,
                                                  vpos)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]