Skip to content

Instantly share code, notes, and snippets.

@mattn
Created April 18, 2012 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattn/2412161 to your computer and use it in GitHub Desktop.
Save mattn/2412161 to your computer and use it in GitHub Desktop.
diff -r 2cfb68fa26cd src/eval.c
--- a/src/eval.c Wed Mar 28 20:51:51 2012 +0200
+++ b/src/eval.c Wed Apr 18 17:44:32 2012 +0900
@@ -22313,6 +22313,7 @@
if (p_verbose >= 12)
{
+ ++emsg_off;
++no_wait_return;
verbose_enter_scroll();
@@ -22352,6 +22353,7 @@
verbose_leave_scroll();
--no_wait_return;
+ --emsg_off;
}
}
#ifdef FEAT_PROFILE
@@ -22408,6 +22410,7 @@
/* when being verbose, mention the return value */
if (p_verbose >= 12)
{
+ ++emsg_off;
++no_wait_return;
verbose_enter_scroll();
@@ -22442,6 +22445,7 @@
verbose_leave_scroll();
--no_wait_return;
+ --emsg_off;
}
vim_free(sourcing_name);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment