mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0171
This commit is contained in:
10
src/main.c
10
src/main.c
@@ -820,9 +820,19 @@ main
|
||||
*/
|
||||
if (params.tagname != NULL)
|
||||
{
|
||||
#if defined(HAS_SWAP_EXISTS_ACTION)
|
||||
swap_exists_did_quit = FALSE;
|
||||
#endif
|
||||
|
||||
vim_snprintf((char *)IObuff, IOSIZE, "ta %s", params.tagname);
|
||||
do_cmdline_cmd(IObuff);
|
||||
TIME_MSG("jumping to tag");
|
||||
|
||||
#if defined(HAS_SWAP_EXISTS_ACTION)
|
||||
/* If the user doesn't want to edit the file then we quit here. */
|
||||
if (swap_exists_did_quit)
|
||||
getout(1);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Execute any "+", "-c" and "-S" arguments. */
|
||||
|
Reference in New Issue
Block a user