0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

updated for version 7.0209

This commit is contained in:
Bram Moolenaar
2006-02-27 23:58:35 +00:00
parent eddf53b02e
commit 5e3cb7e869
38 changed files with 878 additions and 393 deletions

View File

@@ -5469,14 +5469,9 @@ redraw_custum_statusline(wp)
called_emsg = FALSE;
win_redr_custom(wp, FALSE);
if (called_emsg)
{
set_string_option_direct((char_u *)"statusline", -1,
(char_u *)"", OPT_FREE | (*wp->w_p_stl != NUL
? OPT_LOCAL : OPT_GLOBAL));
# ifdef FEAT_EVAL
set_option_scriptID((char_u *)"statusline", SID_ERROR);
# endif
}
? OPT_LOCAL : OPT_GLOBAL), SID_ERROR);
called_emsg |= save_called_emsg;
}
#endif
@@ -8610,13 +8605,8 @@ draw_tabline()
called_emsg = FALSE;
win_redr_custom(NULL, FALSE);
if (called_emsg)
{
set_string_option_direct((char_u *)"tabline", -1,
(char_u *)"", OPT_FREE);
# ifdef FEAT_EVAL
set_option_scriptID((char_u *)"tabline", SID_ERROR);
# endif
}
(char_u *)"", OPT_FREE, SID_ERROR);
called_emsg |= save_called_emsg;
}
else
@@ -8915,13 +8905,8 @@ win_redr_ruler(wp, always)
called_emsg = FALSE;
win_redr_custom(wp, TRUE);
if (called_emsg)
{
set_string_option_direct((char_u *)"rulerformat", -1,
(char_u *)"", OPT_FREE);
# ifdef FEAT_EVAL
set_option_scriptID((char_u *)"rulerformat", SID_ERROR);
# endif
}
(char_u *)"", OPT_FREE, SID_ERROR);
called_emsg |= save_called_emsg;
return;
}