summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-05-30 19:43:26 +0000
committerKarl Heuer <kwzh@gnu.org>1995-05-30 19:43:26 +0000
commit94bb7f9b4fe4870d5064fd7ddd4a44d5cb296b7d (patch)
tree4ecd948090f67ecba2cb43bf5bf22bdb9bb752c5 /src/xdisp.c
parent19ae9cb06fcd39812e34fc55485e056d5936d82e (diff)
downloademacs-94bb7f9b4fe4870d5064fd7ddd4a44d5cb296b7d.tar.gz
emacs-94bb7f9b4fe4870d5064fd7ddd4a44d5cb296b7d.tar.bz2
emacs-94bb7f9b4fe4870d5064fd7ddd4a44d5cb296b7d.zip
(update_menu_bar): Do update if region display has changed.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c5
1 files changed, 4 insertions, 1 deletions
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;