aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/private/helpers.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-05-06 21:14:25 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-05-09 23:18:38 +0200
commit34b6a3d944512fd544a884b018297a44aff928ab (patch)
treeff72744f26a83885e40d0465b5741dbe32abfb0d /src/nvim/api/private/helpers.c
parentebb1acb3c083e63667c3606233a496b11d3faa83 (diff)
downloadrneovim-34b6a3d944512fd544a884b018297a44aff928ab.tar.gz
rneovim-34b6a3d944512fd544a884b018297a44aff928ab.tar.bz2
rneovim-34b6a3d944512fd544a884b018297a44aff928ab.zip
doc
Diffstat (limited to 'src/nvim/api/private/helpers.c')
-rw-r--r--src/nvim/api/private/helpers.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c
index 12a4279dd7..637e24575d 100644
--- a/src/nvim/api/private/helpers.c
+++ b/src/nvim/api/private/helpers.c
@@ -120,9 +120,7 @@ bool try_end(Error *err)
// try_enter/try_leave.
trylevel--;
- // Without this it stops processing all subsequent VimL commands and
- // generates strange error messages if I e.g. try calling Test() in a
- // cycle
+ // Set by emsg(), affects aborting(). See also enter_cleanup().
did_emsg = false;
if (got_int) {