summaryrefslogtreecommitdiff
path: root/src/buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.cc')
-rw-r--r--src/buffer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.cc b/src/buffer.cc
index 79660c9b..d82b4627 100644
--- a/src/buffer.cc
+++ b/src/buffer.cc
@@ -695,7 +695,7 @@ void Buffer::run_hook_in_own_context(StringView hook_name, StringView param, Str
return;
InputHandler hook_handler{{ *this, Selection{} },
- Context::Flags::Transient,
+ Context::Flags::Draft,
std::move(client_name)};
hooks().run_hook(hook_name, param, hook_handler.context());
}