aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index b991aeb5805..e72ca032083 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -1723,7 +1723,9 @@ display_text_line (w, start, vpos, hpos, taboffset)
1723 if (tab_width <= 0 || tab_width > 1000) tab_width = 8; 1723 if (tab_width <= 0 || tab_width > 1000) tab_width = 8;
1724 1724
1725 /* Show where to highlight the region. */ 1725 /* Show where to highlight the region. */
1726 if (highlight_region && XMARKER (current_buffer->mark)->buffer != 0) 1726 if (highlight_region && XMARKER (current_buffer->mark)->buffer != 0
1727 /* Highlight only in selected window. */
1728 && w == XWINDOW (FRAME_SELECTED_WINDOW (f)))
1727 { 1729 {
1728 region_beg = marker_position (current_buffer->mark); 1730 region_beg = marker_position (current_buffer->mark);
1729 if (PT < region_beg) 1731 if (PT < region_beg)