Mercurial > vim
comparison src/misc2.c @ 673:513866ffe6af v7.0200
updated for version 7.0200
author | vimboss |
---|---|
date | Fri, 17 Feb 2006 21:53:23 +0000 |
parents | 83a006f81bac |
children | 5b101ff9d4c4 |
comparison
equal
deleted
inserted
replaced
672:db58b9066b21 | 673:513866ffe6af |
---|---|
960 return; | 960 return; |
961 entered = TRUE; | 961 entered = TRUE; |
962 | 962 |
963 ++autocmd_block; /* don't want to trigger autocommands here */ | 963 ++autocmd_block; /* don't want to trigger autocommands here */ |
964 | 964 |
965 #ifdef FEAT_WINDOWS | |
966 /* close all tabs and windows */ | |
967 do_cmdline_cmd((char_u *)"tabonly!"); | |
968 do_cmdline_cmd((char_u *)"only!"); | |
969 #endif | |
970 | |
965 # if defined(FEAT_SYN_HL) | 971 # if defined(FEAT_SYN_HL) |
966 /* Free all spell info. */ | 972 /* Free all spell info. */ |
967 spell_free_all(); | 973 spell_free_all(); |
968 # endif | 974 # endif |
969 | 975 |
1010 free_prev_shellcmd(); | 1016 free_prev_shellcmd(); |
1011 free_regexp_stuff(); | 1017 free_regexp_stuff(); |
1012 free_tag_stuff(); | 1018 free_tag_stuff(); |
1013 free_cd_dir(); | 1019 free_cd_dir(); |
1014 set_expr_line(NULL); | 1020 set_expr_line(NULL); |
1015 diff_clear(); | 1021 diff_clear(curtab); |
1016 clear_sb_text(); /* free any scrollback text */ | 1022 clear_sb_text(); /* free any scrollback text */ |
1017 | 1023 |
1018 /* Free some global vars. */ | 1024 /* Free some global vars. */ |
1019 vim_free(username); | 1025 vim_free(username); |
1020 vim_free(clip_exclude_prog); | 1026 vim_free(clip_exclude_prog); |
2790 set_string_option_direct((char_u *)"ff", -1, (char_u *)p, | 2796 set_string_option_direct((char_u *)"ff", -1, (char_u *)p, |
2791 OPT_FREE | opt_flags); | 2797 OPT_FREE | opt_flags); |
2792 #ifdef FEAT_WINDOWS | 2798 #ifdef FEAT_WINDOWS |
2793 /* This may cause the buffer to become (un)modified. */ | 2799 /* This may cause the buffer to become (un)modified. */ |
2794 check_status(curbuf); | 2800 check_status(curbuf); |
2795 redraw_tabpage = TRUE; | 2801 redraw_tabline = TRUE; |
2796 #endif | 2802 #endif |
2797 #ifdef FEAT_TITLE | 2803 #ifdef FEAT_TITLE |
2798 need_maketitle = TRUE; /* set window title later */ | 2804 need_maketitle = TRUE; /* set window title later */ |
2799 #endif | 2805 #endif |
2800 } | 2806 } |