summaryrefslogtreecommitdiff
path: root/src/command_manager.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-03-27 07:40:44 +1100
committerMaxime Coste <mawww@kakoune.org>2018-03-27 07:40:44 +1100
commit0a833371ab7af35c5e574431056e86fe71526d50 (patch)
tree48db6f1447e73c44c442e9edaf1048fddb3069f4 /src/command_manager.cc
parent3d3a37a80cec3be1b38c8176fab0425279c19303 (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