mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 19:36:40 +00:00
api helpers: Also save and restore did_emsg
This commit is contained in:
@@ -88,13 +88,14 @@
|
||||
/// Used when caller is supposed to be operating when other VimL code is being
|
||||
/// processed and that “other VimL code” must not be affected.
|
||||
typedef struct {
|
||||
except_T *current_exception;
|
||||
struct msglist *private_msg_list;
|
||||
const struct msglist *const *msg_list;
|
||||
int trylevel;
|
||||
int got_int;
|
||||
int did_throw;
|
||||
int need_rethrow;
|
||||
except_T *current_exception;
|
||||
struct msglist *private_msg_list;
|
||||
const struct msglist *const *msg_list;
|
||||
int did_emsg;
|
||||
} TryState;
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
|
Reference in New Issue
Block a user