summaryrefslogtreecommitdiff
path: root/src/proto/main.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-16 21:58:13 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-16 21:58:13 +0200
commit69198cb8c08f124729c41a4681f2d142228a9139 (patch)
tree12b2ba27e1239074e4bcb1f6f6524d23ab996158 /src/proto/main.pro
parentdac1347b4d9c1a1aef6aa73fdea08a9d1077d6ea (diff)
downloadvim-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/proto/main.pro')
-rw-r--r--src/proto/main.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/main.pro b/src/proto/main.pro
index a6b9784a3..2c07ceab0 100644
--- a/src/proto/main.pro
+++ b/src/proto/main.pro
@@ -3,7 +3,7 @@ int vim_main2(void);
void common_init(mparm_T *paramp);
int is_not_a_term(void);
void may_trigger_safestate(int safe);
-void enter_unsafe_state(void);
+void state_no_longer_safe(void);
void leave_unsafe_state(void);
void main_loop(int cmdwin, int noexmode);
void getout_preserve_modified(int exitval);