diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-09-19 12:43:39 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-09-19 12:43:39 +0100 |
| commit | f59108072f64b67749eb0f0570e5f1a128ec55af (patch) | |
| tree | 5aa1285ff3d570f74da39038fa519030b2c7d19f /src/command_manager.hh | |
| parent | 6bc5f8c3a3f0ef2e0a4bfb51beb756608554597e (diff) | |
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)
Diffstat (limited to 'src/command_manager.hh')
| -rw-r--r-- | src/command_manager.hh | 4 |
1 files changed, 2 insertions, 2 deletions
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<String> shell_params, - const EnvVarMap& env_vars); + ConstArrayView<String> shell_params = {}, + const EnvVarMap& env_vars = EnvVarMap{}); } |
