diff options
| author | Karl Heuer | 1995-05-30 19:43:26 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-05-30 19:43:26 +0000 |
| commit | 94bb7f9b4fe4870d5064fd7ddd4a44d5cb296b7d (patch) | |
| tree | 4ecd948090f67ecba2cb43bf5bf22bdb9bb752c5 /src | |
| parent | 19ae9cb06fcd39812e34fc55485e056d5936d82e (diff) | |
| download | emacs-94bb7f9b4fe4870d5064fd7ddd4a44d5cb296b7d.tar.gz emacs-94bb7f9b4fe4870d5064fd7ddd4a44d5cb296b7d.zip | |
(update_menu_bar): Do update if region display has changed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 5 |
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) | |||
| 1250 | || !NILP (w->update_mode_line) | 1250 | || !NILP (w->update_mode_line) |
| 1251 | || (XFASTINT (w->last_modified) < MODIFF | 1251 | || (XFASTINT (w->last_modified) < MODIFF |
| 1252 | && (XFASTINT (w->last_modified) | 1252 | && (XFASTINT (w->last_modified) |
| 1253 | <= BUF_SAVE_MODIFF (XBUFFER (w->buffer))))) | 1253 | <= BUF_SAVE_MODIFF (XBUFFER (w->buffer)))) |
| 1254 | || ((!NILP (Vtransient_mark_mode) | ||
| 1255 | && !NILP (XBUFFER (w->buffer)->mark_active)) | ||
| 1256 | != !NILP (w->region_showing))) | ||
| 1254 | { | 1257 | { |
| 1255 | struct buffer *prev = current_buffer; | 1258 | struct buffer *prev = current_buffer; |
| 1256 | int count = specpdl_ptr - specpdl; | 1259 | int count = specpdl_ptr - specpdl; |