From 94bb7f9b4fe4870d5064fd7ddd4a44d5cb296b7d Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 30 May 1995 19:43:26 +0000 Subject: [PATCH] (update_menu_bar): Do update if region display has changed. --- src/xdisp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index f711abded46..f341c064785 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1250,7 +1250,10 @@ update_menu_bar (f, save_match_data) || !NILP (w->update_mode_line) || (XFASTINT (w->last_modified) < MODIFF && (XFASTINT (w->last_modified) - <= BUF_SAVE_MODIFF (XBUFFER (w->buffer))))) + <= BUF_SAVE_MODIFF (XBUFFER (w->buffer)))) + || ((!NILP (Vtransient_mark_mode) + && !NILP (XBUFFER (w->buffer)->mark_active)) + != !NILP (w->region_showing))) { struct buffer *prev = current_buffer; int count = specpdl_ptr - specpdl; -- 2.39.2