1
0
forked from aniani/vim

patch 8.1.2048: not clear why SafeState and SafeStateAgain are not triggered

Problem:    Not clear why SafeState and SafeStateAgain are not triggered.
Solution:   Add log statements.
This commit is contained in:
Bram Moolenaar
2019-09-17 20:28:38 +02:00
parent 0e57dd859e
commit 37d1807a80
4 changed files with 17 additions and 3 deletions

View File

@@ -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;