]> git.eshelyaron.com Git - emacs.git/commitdiff
(update_menu_bar): Do update if region display has changed.
authorKarl Heuer <kwzh@gnu.org>
Tue, 30 May 1995 19:43:26 +0000 (19:43 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 30 May 1995 19:43:26 +0000 (19:43 +0000)
src/xdisp.c

index f711abded461ff9e282babed13f193355ed551c9..f341c06478525ce136214f1cd06fecbd9bc25603 100644 (file)
@@ -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;