diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-02-27 23:58:35 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-02-27 23:58:35 +0000 |
commit | 5e3cb7e8699f855193179a8cb799d1087f4a2ac9 (patch) | |
tree | 297e019074e2c2b85d5151701fcfae03bf02ceb9 /src/term.c | |
parent | eddf53b02e2b007208b19c74fb616be2c0839b36 (diff) | |
download | vim-git-5e3cb7e8699f855193179a8cb799d1087f4a2ac9.tar.gz |
updated for version 7.0209v7.0209
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/term.c b/src/term.c index 69b0c6cb7..c3c5979ec 100644 --- a/src/term.c +++ b/src/term.c @@ -1561,10 +1561,7 @@ set_color_count(nr) sprintf((char *)nr_colors, "%d", t_colors); else *nr_colors = NUL; - set_string_option_direct((char_u *)"t_Co", -1, nr_colors, OPT_FREE); -# ifdef FEAT_EVAL - set_option_scriptID((char_u *)"t_Co", current_SID); -# endif + set_string_option_direct((char_u *)"t_Co", -1, nr_colors, OPT_FREE, 0); } #endif @@ -1825,7 +1822,8 @@ set_termname(term) out_flush(); ui_delay(2000L, TRUE); } - set_string_option_direct((char_u *)"term", -1, term, OPT_FREE); + set_string_option_direct((char_u *)"term", -1, term, + OPT_FREE, 0); display_errors(); } out_flush(); @@ -2503,10 +2501,7 @@ termcapinit(name) #endif if (term == NULL || *term == NUL) term = DEFAULT_TERM; - set_string_option_direct((char_u *)"term", -1, term, OPT_FREE); -# ifdef FEAT_EVAL - set_option_scriptID((char_u *)"term", current_SID); -# endif + set_string_option_direct((char_u *)"term", -1, term, OPT_FREE, 0); /* Set the default terminal name. */ set_string_default("term", term); |