summaryrefslogtreecommitdiff
path: root/src/commands.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cc')
-rw-r--r--src/commands.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands.cc b/src/commands.cc
index 84e0fdf3..46481b9d 100644
--- a/src/commands.cc
+++ b/src/commands.cc
@@ -2621,6 +2621,7 @@ void enter_user_mode(Context& context, String mode_name, KeymapMode mode, bool l
auto& mapping = context.keymaps().get_mapping(key, mode);
ScopedSetBool disable_keymaps(context.keymaps_disabled());
+ ScopedSetBool disable_history(context.history_disabled());
InputHandler::ScopedForceNormal force_normal{context.input_handler(), {}};