Mirror of the Vim source from https://github.com/vim/vim
Revision | 86079b930b3e8735933c9349e44184761bbf56b0 (tree) |
---|---|
Time | 2007-06-20 01:03:50 |
Author | vimboss |
Commiter | vimboss |
updated for version 7.1-010
@@ -2188,8 +2188,10 @@ | ||
2188 | 2188 | escaped_filename = vim_strsave_escaped(filename, escape_chars); |
2189 | 2189 | if (escaped_filename == NULL) |
2190 | 2190 | return FALSE; |
2191 | - mksession_cmdline = g_strconcat("mksession ", (char *)escaped_filename, NULL); | |
2191 | + mksession_cmdline = g_strconcat("mksession ", (char *)escaped_filename, | |
2192 | + NULL); | |
2192 | 2193 | vim_free(escaped_filename); |
2194 | + | |
2193 | 2195 | /* |
2194 | 2196 | * Use a reasonable hardcoded set of 'sessionoptions' flags to avoid |
2195 | 2197 | * unpredictable effects when the session is saved automatically. Also, |
@@ -2199,7 +2201,7 @@ | ||
2199 | 2201 | */ |
2200 | 2202 | save_ssop_flags = ssop_flags; |
2201 | 2203 | ssop_flags = (SSOP_BLANK|SSOP_CURDIR|SSOP_FOLDS|SSOP_GLOBALS |
2202 | - |SSOP_HELP|SSOP_OPTIONS|SSOP_WINSIZE); | |
2204 | + |SSOP_HELP|SSOP_OPTIONS|SSOP_WINSIZE|SSOP_TABPAGES); | |
2203 | 2205 | |
2204 | 2206 | do_cmdline_cmd((char_u *)"let Save_VV_this_session = v:this_session"); |
2205 | 2207 | failed = (do_cmdline_cmd((char_u *)mksession_cmdline) == FAIL); |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 10, | |
671 | +/**/ | |
670 | 672 | 9, |
671 | 673 | /**/ |
672 | 674 | 8, |