comparison src/autocmd.c @ 18102:0d9ec3a2821f v8.1.2046

patch 8.1.2046: SafeState may be triggered at the wrong moment Commit: https://github.com/vim/vim/commit/69198cb8c08f124729c41a4681f2d142228a9139 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Sep 16 21:58:13 2019 +0200 patch 8.1.2046: SafeState may be triggered at the wrong moment 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.
author Bram Moolenaar <Bram@vim.org>
date Mon, 16 Sep 2019 22:00:04 +0200
parents a2870e6f5b45
children 507348b211b4
comparison
equal deleted inserted replaced
18101:6d2d7e46c212 18102:0d9ec3a2821f
154 {"QuickFixCmdPost", EVENT_QUICKFIXCMDPOST}, 154 {"QuickFixCmdPost", EVENT_QUICKFIXCMDPOST},
155 {"QuickFixCmdPre", EVENT_QUICKFIXCMDPRE}, 155 {"QuickFixCmdPre", EVENT_QUICKFIXCMDPRE},
156 {"QuitPre", EVENT_QUITPRE}, 156 {"QuitPre", EVENT_QUITPRE},
157 {"RemoteReply", EVENT_REMOTEREPLY}, 157 {"RemoteReply", EVENT_REMOTEREPLY},
158 {"SafeState", EVENT_SAFESTATE}, 158 {"SafeState", EVENT_SAFESTATE},
159 {"SafeStateAgain", EVENT_SAFESTATEAGAIN},
159 {"SessionLoadPost", EVENT_SESSIONLOADPOST}, 160 {"SessionLoadPost", EVENT_SESSIONLOADPOST},
160 {"ShellCmdPost", EVENT_SHELLCMDPOST}, 161 {"ShellCmdPost", EVENT_SHELLCMDPOST},
161 {"ShellFilterPost", EVENT_SHELLFILTERPOST}, 162 {"ShellFilterPost", EVENT_SHELLFILTERPOST},
162 {"SourceCmd", EVENT_SOURCECMD}, 163 {"SourceCmd", EVENT_SOURCECMD},
163 {"SourcePre", EVENT_SOURCEPRE}, 164 {"SourcePre", EVENT_SOURCEPRE},