From: Karl Heuer Date: Tue, 30 May 1995 19:43:26 +0000 (+0000) Subject: (update_menu_bar): Do update if region display has changed. X-Git-Tag: emacs-19.34~3836 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=94bb7f9b4fe4870d5064fd7ddd4a44d5cb296b7d;p=emacs.git (update_menu_bar): Do update if region display has changed. --- 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;