Mercurial > vim
comparison src/getchar.c @ 481:66080ac5dab7 v7.0130
updated for version 7.0130
author | vimboss |
---|---|
date | Mon, 15 Aug 2005 21:41:48 +0000 |
parents | a5fcf36ef512 |
children | 9e359e5759f6 |
comparison
equal
deleted
inserted
replaced
480:bf5ba8a0cdee | 481:66080ac5dab7 |
---|---|
3323 vim_free(mp->m_str); | 3323 vim_free(mp->m_str); |
3324 mp->m_str = newstr; | 3324 mp->m_str = newstr; |
3325 mp->m_noremap = noremap; | 3325 mp->m_noremap = noremap; |
3326 mp->m_silent = silent; | 3326 mp->m_silent = silent; |
3327 mp->m_mode = mode; | 3327 mp->m_mode = mode; |
3328 #ifdef FEAT_EVAL | |
3329 mp->m_script_ID = current_SID; | |
3330 #endif | |
3328 did_it = TRUE; | 3331 did_it = TRUE; |
3329 } | 3332 } |
3330 } | 3333 } |
3331 if (mp->m_mode == 0) /* entry can be deleted */ | 3334 if (mp->m_mode == 0) /* entry can be deleted */ |
3332 { | 3335 { |
3405 } | 3408 } |
3406 mp->m_keylen = (int)STRLEN(mp->m_keys); | 3409 mp->m_keylen = (int)STRLEN(mp->m_keys); |
3407 mp->m_noremap = noremap; | 3410 mp->m_noremap = noremap; |
3408 mp->m_silent = silent; | 3411 mp->m_silent = silent; |
3409 mp->m_mode = mode; | 3412 mp->m_mode = mode; |
3413 #ifdef FEAT_EVAL | |
3414 mp->m_script_ID = current_SID; | |
3415 #endif | |
3410 | 3416 |
3411 /* add the new entry in front of the abbrlist or maphash[] list */ | 3417 /* add the new entry in front of the abbrlist or maphash[] list */ |
3412 if (abbrev) | 3418 if (abbrev) |
3413 { | 3419 { |
3414 mp->m_next = *abbr_table; | 3420 mp->m_next = *abbr_table; |
3674 */ | 3680 */ |
3675 if (*mp->m_str == NUL) | 3681 if (*mp->m_str == NUL) |
3676 msg_puts_attr((char_u *)"<Nop>", hl_attr(HLF_8)); | 3682 msg_puts_attr((char_u *)"<Nop>", hl_attr(HLF_8)); |
3677 else | 3683 else |
3678 msg_outtrans_special(mp->m_str, FALSE); | 3684 msg_outtrans_special(mp->m_str, FALSE); |
3685 #ifdef FEAT_EVAL | |
3686 if (p_verbose > 0) | |
3687 last_set_msg(mp->m_script_ID); | |
3688 #endif | |
3679 out_flush(); /* show one line at a time */ | 3689 out_flush(); /* show one line at a time */ |
3680 } | 3690 } |
3681 | 3691 |
3682 #if defined(FEAT_EVAL) || defined(PROTO) | 3692 #if defined(FEAT_EVAL) || defined(PROTO) |
3683 /* | 3693 /* |