diff options
| author | Maxime Coste <mawww@kakoune.org> | 2019-06-18 22:18:17 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2019-06-19 23:04:16 +1000 |
| commit | 8b2906a14d3395a6619c7e40d3206b75eef11b25 (patch) | |
| tree | d559789c90745dd538751bd163791860ddfecb48 /src/buffer.cc | |
| parent | 59e43c8f0c2d125952c8bad3b1b0c9053046926d (diff) | |
Refactor option_to_string quoting support, introduce Quoting::Raw
Diffstat (limited to 'src/buffer.cc')
| -rw-r--r-- | src/buffer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.cc b/src/buffer.cc index 17c4a34e..60dd5ba9 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -685,7 +685,7 @@ void Buffer::on_option_changed(const Option& option) m_flags &= ~Flags::ReadOnly; } run_hook_in_own_context(Hook::BufSetOption, - format("{}={}", option.name(), option.get_as_string(Quoting::Kakoune))); + format("{}={}", option.name(), option.get_as_string(Quoting::Raw))); } void Buffer::run_hook_in_own_context(Hook hook, StringView param, String client_name) |
