updated for version 7.1-025
diff --git a/src/eval.c b/src/eval.c
index ac4dc1b..d55ba10 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -13925,6 +13925,8 @@
     /* If 'n' flag is used: restore cursor position. */
     if (flags & SP_NOMOVE)
 	curwin->w_cursor = save_cursor;
+    else
+	curwin->w_set_curswant = TRUE;
 theend:
     p_ws = save_p_ws;