diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-16 21:58:13 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-16 21:58:13 +0200 |
commit | 69198cb8c08f124729c41a4681f2d142228a9139 (patch) | |
tree | 12b2ba27e1239074e4bcb1f6f6524d23ab996158 /src/autocmd.c | |
parent | dac1347b4d9c1a1aef6aa73fdea08a9d1077d6ea (diff) | |
download | vim-git-69198cb8c08f124729c41a4681f2d142228a9139.tar.gz |
patch 8.1.2046: SafeState may be triggered at the wrong momentv8.1.2046
Problem: SafeState may be triggered at the wrong moment.
Solution: Move it up higher to after where messages are processed. Add a
SafeStateAgain event to tigger there.
Diffstat (limited to 'src/autocmd.c')
-rw-r--r-- | src/autocmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/autocmd.c b/src/autocmd.c index fb6c84491..3f87e931c 100644 --- a/src/autocmd.c +++ b/src/autocmd.c @@ -156,6 +156,7 @@ static struct event_name {"QuitPre", EVENT_QUITPRE}, {"RemoteReply", EVENT_REMOTEREPLY}, {"SafeState", EVENT_SAFESTATE}, + {"SafeStateAgain", EVENT_SAFESTATEAGAIN}, {"SessionLoadPost", EVENT_SESSIONLOADPOST}, {"ShellCmdPost", EVENT_SHELLCMDPOST}, {"ShellFilterPost", EVENT_SHELLFILTERPOST}, |