commit | 28ee892ac4197421b3317f195512ca64cc56a5b4 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Oct 28 20:20:00 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Oct 28 20:20:00 2020 +0100 |
tree | 0a9eb799ec0e55a32600cc604cea653d9b91f322 | |
parent | 3e2534ed1a6557445747e6c1439ad26ec8eabfc4 [diff] [blame] |
patch 8.2.1919: assert_fails() setting emsg_silent changes normal execution Problem: Assert_fails() setting emsg_silent changes normal execution. Solution: Use a separate flag in_assert_fails.
diff --git a/src/normal.c b/src/normal.c index 89eaabc..af4d3b2 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -1154,6 +1154,7 @@ && stuff_empty() && typebuf_typed() && emsg_silent == 0 + && !in_assert_fails && !did_wait_return && oap->op_type == OP_NOP) {