From 6ad2f721dd0a464d1f60debe3d0581acd7d525bc Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 3 Apr 2017 18:16:32 +0100 Subject: [PATCH] Do not disable autoinfo and autoshowcompl in non interactive context Fixes #1303 Fixes #1152 --- src/commands.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/commands.cc b/src/commands.cc index 500d37b5..4a5eceaf 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -1547,8 +1547,6 @@ void context_wrap(const ParametersParser& parser, Context& context, Func func) // Disable these options to avoid costly code paths (and potential screen // redraws) That are useful only in interactive contexts. - DisableOption disable_autoinfo(context, "autoinfo"); - DisableOption disable_autoshowcompl(context, "autoshowcompl"); DisableOption disable_incsearch(context, "incsearch"); const bool no_hooks = parser.get_switch("no-hooks") or context.hooks_disabled();