Created
May 11, 2017 05:41
-
-
Save mattn/f2298123ccaf2620d01ef394928748bd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/evalfunc.c b/src/evalfunc.c | |
index b16b26082..ca0aa0e85 100644 | |
--- a/src/evalfunc.c | |
+++ b/src/evalfunc.c | |
@@ -2873,7 +2873,8 @@ f_execute(typval_T *argvars, typval_T *rettv) | |
/* "silent reg" or "silent echo x" leaves msg_col somewhere in the | |
* line. Put it back in the first column. */ | |
- msg_col = 0; | |
+ if (emsg_off > 0) | |
+ msg_col = 0; | |
} | |
/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment