# HG changeset patch # User Karl Heuer # Date 801722668 0 # Node ID d72fbbe257802c4a5c7f22927af76f838e44bad7 # Parent a99407606405fc09a16c9261c0cfa58e967f00e8 (redisplay_window): Don't use try_window_id if newline has a display table entry. diff -r a99407606405 -r d72fbbe25780 src/xdisp.c --- a/src/xdisp.c Mon May 29 04:36:26 1995 +0000 +++ b/src/xdisp.c Mon May 29 04:44:28 1995 +0000 @@ -1302,6 +1302,7 @@ int opoint = PT; int tem; int update_mode_line; + struct Lisp_Vector *dp = window_display_table (w); if (FRAME_HEIGHT (f) == 0) abort (); /* Some bug zeros some core */ @@ -1543,6 +1544,9 @@ /* Can't use this case if highlighting a region. */ && !(!NILP (Vtransient_mark_mode) && !NILP (current_buffer->mark_active)) + /* Don't use try_window_id if newline + doesn't display as the end of a line. */ + && !(dp != 0 && VECTORP (DISP_CHAR_VECTOR (dp, '\n'))) && NILP (w->region_showing) && EQ (last_arrow_position, Voverlay_arrow_position) && EQ (last_arrow_string, Voverlay_arrow_string)