diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-08-15 21:41:48 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-08-15 21:41:48 +0000 |
commit | ae5bce1c127136a650ee25c4c78d3d334cc07859 (patch) | |
tree | 992edb0baaa4a6a4156fbfb77d4f6382cd3f5999 /src/getchar.c | |
parent | 90cfdbe040320952e6b542d0633987f082b0f158 (diff) |
updated for version 7.0130v7.0130
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/getchar.c b/src/getchar.c index 085fc4dc68..69cebaee56 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -3325,6 +3325,9 @@ do_map(maptype, arg, mode, abbrev) mp->m_noremap = noremap; mp->m_silent = silent; mp->m_mode = mode; +#ifdef FEAT_EVAL + mp->m_script_ID = current_SID; +#endif did_it = TRUE; } } @@ -3407,6 +3410,9 @@ do_map(maptype, arg, mode, abbrev) mp->m_noremap = noremap; mp->m_silent = silent; mp->m_mode = mode; +#ifdef FEAT_EVAL + mp->m_script_ID = current_SID; +#endif /* add the new entry in front of the abbrlist or maphash[] list */ if (abbrev) @@ -3676,6 +3682,10 @@ showmap(mp, local) msg_puts_attr((char_u *)"<Nop>", hl_attr(HLF_8)); else msg_outtrans_special(mp->m_str, FALSE); +#ifdef FEAT_EVAL + if (p_verbose > 0) + last_set_msg(mp->m_script_ID); +#endif out_flush(); /* show one line at a time */ } |