From f59108072f64b67749eb0f0570e5f1a128ec55af Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 19 Sep 2015 12:43:39 +0100 Subject: Initial support for user configurable modeline with the modelinefmt option modelinefmt is first sent through a command line expander (so %sh{...}, %val{...} et al. are expanded), then through markup expand (so that {face} are interpreted as well) --- src/command_manager.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/command_manager.hh') diff --git a/src/command_manager.hh b/src/command_manager.hh index ee71ea2b..9592bce6 100644 --- a/src/command_manager.hh +++ b/src/command_manager.hh @@ -104,8 +104,8 @@ private: }; String expand(StringView str, const Context& context, - ConstArrayView shell_params, - const EnvVarMap& env_vars); + ConstArrayView shell_params = {}, + const EnvVarMap& env_vars = EnvVarMap{}); } -- cgit v1.2.3