public
Created

  • Download Gist
gistfile1.diff
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
diff -r a83960ec9e6d src/eval.c
--- a/src/eval.c Sun Sep 08 20:00:48 2013 +0200
+++ b/src/eval.c Fri Sep 20 11:59:04 2013 +0900
@@ -13052,10 +13052,18 @@
}
}
- if (defstr != NULL)
+ if (defstr != NULL) {
+#ifdef FEAT_EX_EXTRA
+ int save_ex_normal_busy;
+ ex_normal_busy = 0;
+#endif
rettv->vval.v_string =
getcmdline_prompt(inputsecret_flag ? NUL : '@', p, echo_attr,
xp_type, xp_arg);
+#ifdef FEAT_EX_EXTRA
+ ex_normal_busy = save_ex_normal_busy;
+#endif
+ }
if (inputdialog && rettv->vval.v_string == NULL
&& argvars[1].v_type != VAR_UNKNOWN
&& argvars[2].v_type != VAR_UNKNOWN)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.