/[emacs]/emacs/src/xdisp.c
ViewVC logotype

Diff of /emacs/src/xdisp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.821 by akochoi, Mon Mar 24 19:59:08 2003 UTC revision 1.822 by jhd, Wed Mar 26 16:13:44 2003 UTC
# Line 7905  update_menu_bar (f, save_match_data) Line 7905  update_menu_bar (f, save_match_data)
7905    window = FRAME_SELECTED_WINDOW (f);    window = FRAME_SELECTED_WINDOW (f);
7906    w = XWINDOW (window);    w = XWINDOW (window);
7907    
7908  #if 0 /* The if statement below this if statement used to include the  #if 1 /* The if statement below this if statement used to include the
7909           condition !NILP (w->update_mode_line), rather than using           condition !NILP (w->update_mode_line), rather than using
7910           update_mode_lines directly, and this if statement may have           update_mode_lines directly, and this if statement may have
7911           been added to make that condition work.  Now the if           been added to make that condition work.  Now the if
7912           statement below matches its comment, this isn't needed.  */           statement below matches its comment, this isn't needed.  */
7913      /* We need to set w->update_mode_line to Qt so that update_tool_bar
7914         rebuilds tool bar items.  For example, to notice when a tool bar item
7915         goes from enabled to disabled state.
7916         A better way would be to notice tool bar, menu bar and mode line
7917         changes separately, but for now update_mode_line is all we got.  */
7918    if (update_mode_lines)    if (update_mode_lines)
7919      w->update_mode_line = Qt;      w->update_mode_line = Qt;
7920  #endif  #endif

Legend:
Removed from v.1.821  
changed lines
  Added in v.1.822

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26