Mercurial > emacs
changeset 2965:5314fdcd87bc
(display_text_line): Highlight in any frame's sel window.
(display_text_line): Highlight only in selected window.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 22 May 1993 22:06:48 +0000 |
parents | a0ff2bc5dd05 |
children | e936d56c2354 |
files | src/xdisp.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)