diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-03-27 07:40:44 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-03-27 07:40:44 +1100 |
| commit | 0a833371ab7af35c5e574431056e86fe71526d50 (patch) | |
| tree | 48db6f1447e73c44c442e9edaf1048fddb3069f4 /src/command_manager.cc | |
| parent | 3d3a37a80cec3be1b38c8176fab0425279c19303 (diff) | |
Prompt: Do not call callback in on_enabled
Schedule it for later, when we get "idle". It currently can lead to
crashed because after the callback, the current mode might be different,
leading to a crash when doing the ModeChange hook call.
Diffstat (limited to 'src/command_manager.cc')
0 files changed, 0 insertions, 0 deletions
