aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/xdisp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index c27876623a1..c7d8f2db748 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -7631,7 +7631,7 @@ redisplay_internal (preserve_echo_area)
7631 clear_garbaged_frames (); 7631 clear_garbaged_frames ();
7632 } 7632 }
7633 } 7633 }
7634 else if (w == XWINDOW (minibuf_window) 7634 else if (EQ (selected_window, minibuf_window)
7635 && (current_buffer->clip_changed 7635 && (current_buffer->clip_changed
7636 || XFASTINT (w->last_modified) < MODIFF 7636 || XFASTINT (w->last_modified) < MODIFF
7637 || XFASTINT (w->last_overlay_modified) < OVERLAY_MODIFF) 7637 || XFASTINT (w->last_overlay_modified) < OVERLAY_MODIFF)
@@ -7827,7 +7827,7 @@ redisplay_internal (preserve_echo_area)
7827 then we can't just move the cursor. */ 7827 then we can't just move the cursor. */
7828 else if (! (!NILP (Vtransient_mark_mode) 7828 else if (! (!NILP (Vtransient_mark_mode)
7829 && !NILP (current_buffer->mark_active)) 7829 && !NILP (current_buffer->mark_active))
7830 && (w == XWINDOW (current_buffer->last_selected_window) 7830 && (EQ (selected_window, current_buffer->last_selected_window)
7831 || highlight_nonselected_windows) 7831 || highlight_nonselected_windows)
7832 && NILP (w->region_showing) 7832 && NILP (w->region_showing)
7833 && NILP (Vshow_trailing_whitespace) 7833 && NILP (Vshow_trailing_whitespace)
@@ -8069,7 +8069,8 @@ update:
8069 /* Record if we are showing a region, so can make sure to 8069 /* Record if we are showing a region, so can make sure to
8070 update it fully at next redisplay. */ 8070 update it fully at next redisplay. */
8071 w->region_showing = (!NILP (Vtransient_mark_mode) 8071 w->region_showing = (!NILP (Vtransient_mark_mode)
8072 && (w == XWINDOW (current_buffer->last_selected_window) 8072 && (EQ (selected_window,
8073 current_buffer->last_selected_window)
8073 || highlight_nonselected_windows) 8074 || highlight_nonselected_windows)
8074 && !NILP (XBUFFER (w->buffer)->mark_active) 8075 && !NILP (XBUFFER (w->buffer)->mark_active)
8075 ? Fmarker_position (XBUFFER (w->buffer)->mark) 8076 ? Fmarker_position (XBUFFER (w->buffer)->mark)