updated for version 7.1-213
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 249ecb5..d7ef7d5 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -7126,7 +7126,7 @@
 			 : eap->addr_count == 0 ? 0
 					       : (int)eap->line2 + 1) != FAIL)
 	{
-	    do_exedit(eap, NULL);
+	    do_exedit(eap, old_curwin);
 
 	    /* set the alternate buffer for the window we came from */
 	    if (curwin != old_curwin