diff src/tag.c @ 682:f1b013312711

updated for version 7.0205
author vimboss
date Thu, 23 Feb 2006 21:26:58 +0000
parents 8157079cea85
children d7e33248b9c8
line wrap: on
line diff
--- a/src/tag.c
+++ b/src/tag.c
@@ -3076,8 +3076,9 @@ jumpto_tag(lbuf, forceit, keep_help)
 	}
     }
 
-    /* if it was a CTRL-W CTRL-] command split window now */
-    if (postponed_split)
+    /* If it was a CTRL-W CTRL-] command split window now.  For ":tab tag"
+     * open a new tab page. */
+    if (postponed_split || cmdmod.tab != 0)
     {
 	win_split(postponed_split > 0 ? postponed_split : 0,
 						       postponed_split_flags);