1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(display_text_line): Highlight in any frame's sel window.

(display_text_line): Highlight only in selected window.
This commit is contained in:
Richard M. Stallman 1993-05-22 22:06:48 +00:00
parent bcb2db92ba
commit 1613b7573b

View File

@ -1723,7 +1723,9 @@ display_text_line (w, start, vpos, hpos, taboffset)
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)