summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-14 14:01:05 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-14 14:01:05 +0200
commit88c89c77229e725ab2613b022249e2f506d82b82 (patch)
tree13d6d797ce01be15745d0b61b46ad8bdb23c4a5f /src/message.c
parent78a9c2e670d29349404b346e0aa90264cab19e9b (diff)
downloadvim-git-8.2.3341.tar.gz
patch 8.2.3341: Vim9: function call aborted despite try/catchv8.2.3341
Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono) Solution: Ignore error caught by try/catch. (closes #8755)
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 23b84fa83..bb0dbb2bd 100644
--- a/src/message.c
+++ b/src/message.c
@@ -733,7 +733,7 @@ emsg_core(char_u *s)
flush_buffers(FLUSH_MINIMAL); // flush internal buffers
++did_emsg; // flag for DoOneCmd()
#ifdef FEAT_EVAL
- did_uncaught_emsg = TRUE;
+ ++uncaught_emsg;
#endif
}