# HG changeset patch # User Richard M. Stallman # Date 738108408 0 # Node ID 5314fdcd87bca4c77b6fbd8854f55afc0d1f03b8 # Parent a0ff2bc5dd050a1a94acc057e0c2ea817a066b94 (display_text_line): Highlight in any frame's sel window. (display_text_line): Highlight only in selected window. diff -r a0ff2bc5dd05 -r 5314fdcd87bc src/xdisp.c --- a/src/xdisp.c Sat May 22 22:04:07 1993 +0000 +++ b/src/xdisp.c Sat May 22 22:06:48 1993 +0000 @@ -1723,7 +1723,9 @@ if (tab_width <= 0 || tab_width > 1000) tab_width = 8; /* Show where to highlight the region. */ - if (highlight_region && XMARKER (current_buffer->mark)->buffer != 0) + if (highlight_region && XMARKER (current_buffer->mark)->buffer != 0 + /* Highlight only in selected window. */ + && w == XWINDOW (FRAME_SELECTED_WINDOW (f))) { region_beg = marker_position (current_buffer->mark); if (PT < region_beg)