0
0
mirror of https://github.com/vim/vim.git synced 2025-10-01 04:54:07 -04:00

updated for version 7.0201

This commit is contained in:
Bram Moolenaar
2006-02-18 22:14:51 +00:00
parent 997fb4ba69
commit 7e8fd63682
32 changed files with 471 additions and 176 deletions

View File

@@ -1710,15 +1710,6 @@ command_line_scan(parmp)
#endif
break;
#ifdef TARGET_API_MAC_OSX
/* For some reason on MacOS X, an argument like:
-psn_0_10223617 is passed in when invoke from Finder
or with the 'open' command */
case 'p':
argv_idx = -1; /* bypass full -psn */
main_start_gui();
break;
#endif
case 'M': /* "-M" no changes or writing of files */
reset_modifiable();
/* FALLTHROUGH */
@@ -1743,6 +1734,17 @@ command_line_scan(parmp)
break;
case 'p': /* "-p[N]" open N tab pages */
#ifdef TARGET_API_MAC_OSX
/* For some reason on MacOS X, an argument like:
-psn_0_10223617 is passed in when invoke from Finder
or with the 'open' command */
if (argv[0][argv_idx] == 's')
{
argv_idx = -1; /* bypass full -psn */
main_start_gui();
break;
}
#endif
#ifdef FEAT_WINDOWS
/* default is 0: open window for each file */
parmp->window_count = get_number_arg((char_u *)argv[0],