Shoud be applied to row.
diff -r 15b934a16641 src/ex_docmd.c
--- a/src/ex_docmd.c Wed Sep 14 19:04:40 2011 +0200
+++ b/src/ex_docmd.c Fri Sep 16 10:23:53 2011 +0900
@@ -8628,9 +8628,19 @@
char *mode;
char_u *fname;
char_u *arg = eap->arg;
+ static int save_msg_col = -1;
+ static int save_msg_row = -1;
if (STRICMP(eap->arg, "END") == 0)
+ {
close_redir();
+ if (save_msg_col != -1 && save_msg_row != -1) {
+ msg_col = save_msg_col;
+ msg_row = save_msg_row;
+ save_msg_col = -1;
+ save_msg_row = -1;
+ }
+ }
else
{
if (*arg == '>')
@@ -8736,8 +8746,11 @@
#ifdef FEAT_EVAL
|| redir_reg || redir_vname
#endif
- )
+ ) {
redir_off = FALSE;
+ save_msg_col = msg_col;
+ save_msg_row = msg_row;
+ }
}
/*
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php