diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 8697c530771..bad74b0ee77 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -905,15 +905,14 @@ update_menu_bars (window) | |||
| 905 | Lisp_Object window; | 905 | Lisp_Object window; |
| 906 | { | 906 | { |
| 907 | for (; !NILP (window); window = XWINDOW (window)->next) | 907 | for (; !NILP (window); window = XWINDOW (window)->next) |
| 908 | update_menu_bar (window, 0); | 908 | update_menu_bar (window); |
| 909 | } | 909 | } |
| 910 | 910 | ||
| 911 | /* Update the menu bar item list for window WINDOW and its subwindows. */ | 911 | /* Update the menu bar item list for window WINDOW and its subwindows. */ |
| 912 | 912 | ||
| 913 | static void | 913 | static void |
| 914 | update_menu_bar (window, just_this_one) | 914 | update_menu_bar (window) |
| 915 | Lisp_Object window; | 915 | Lisp_Object window; |
| 916 | int just_this_one; | ||
| 917 | { | 916 | { |
| 918 | register struct window *w = XWINDOW (window); | 917 | register struct window *w = XWINDOW (window); |
| 919 | struct buffer *old = current_buffer; | 918 | struct buffer *old = current_buffer; |