0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.1-022

This commit is contained in:
Bram Moolenaar
2007-07-07 11:58:28 +00:00
parent e2a49d8e5e
commit bf44417987
2 changed files with 5 additions and 2 deletions

View File

@@ -2349,8 +2349,10 @@ keymap_init()
if (*curbuf->b_p_keymap == NUL) if (*curbuf->b_p_keymap == NUL)
{ {
/* Stop any active keymap and clear the table. */ /* Stop any active keymap and clear the table. Also remove
* b:keymap_unload, as no keymap is active now. */
keymap_unload(); keymap_unload();
do_cmdline_cmd((char_u *)"unlet! b:keymap_name");
} }
else else
{ {
@@ -2500,7 +2502,6 @@ keymap_unload()
ga_clear(&curbuf->b_kmap_ga); ga_clear(&curbuf->b_kmap_ga);
curbuf->b_kmap_state &= ~KEYMAP_LOADED; curbuf->b_kmap_state &= ~KEYMAP_LOADED;
do_cmdline_cmd((char_u *)"unlet! b:keymap_name");
#ifdef FEAT_WINDOWS #ifdef FEAT_WINDOWS
status_redraw_curbuf(); status_redraw_curbuf();
#endif #endif

View File

@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
22,
/**/ /**/
21, 21,
/**/ /**/