Mercurial > vim
diff src/getchar.c @ 18106:b456bba1276a v8.1.2048
patch 8.1.2048: not clear why SafeState and SafeStateAgain are not triggered
Commit: https://github.com/vim/vim/commit/37d1807a801d5296f00b3ac85a38b26cfe6de55c
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 17 20:28:38 2019 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 17 Sep 2019 20:30:04 +0200 |
parents | 0d9ec3a2821f |
children | 7f57ea9a4ba8 |
line wrap: on
line diff
--- 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;