diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-17 20:28:38 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-17 20:28:38 +0200 |
commit | 37d1807a801d5296f00b3ac85a38b26cfe6de55c (patch) | |
tree | d44d74c0e9c2c696ec593b1156f9efab811bafa9 /src/getchar.c | |
parent | 0e57dd859ecb1e8a3b91509d2f4343e839340eb8 (diff) | |
download | vim-git-37d1807a801d5296f00b3ac85a38b26cfe6de55c.tar.gz |
patch 8.1.2048: not clear why SafeState and SafeStateAgain are not triggeredv8.1.2048
Problem: Not clear why SafeState and SafeStateAgain are not triggered.
Solution: Add log statements.
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c index 3f3c6bca5..93d0d64ee 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -2103,7 +2103,7 @@ parse_queued_messages(void) // When not nested we'll go back to waiting for a typed character. If it // was safe before then this triggers a SafeStateAgain autocommand event. if (entered == 1) - leave_unsafe_state(); + may_trigger_safestateagain(); may_garbage_collect = save_may_garbage_collect; |