diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-08-27 21:52:57 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-08-29 07:53:59 +1000 |
| commit | 68aba9e353961ccae17183ccdc65c3c89bdcd6c6 (patch) | |
| tree | d8930ba60ce8a3da06d31e7e1b9ea687f08ca866 /src/buffer.cc | |
| parent | 373858f9bfb50fe2c5670beffbfe63654cc12314 (diff) | |
Use shell specific quoting for env vars
Add a test case to validate roundtrips between Kakoune and the
shell.
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 3b636734..8ef76a09 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -688,7 +688,7 @@ void Buffer::on_option_changed(const Option& option) m_flags &= ~Flags::ReadOnly; } run_hook_in_own_context("BufSetOption", - format("{}={}", option.name(), option.get_as_string())); + format("{}={}", option.name(), option.get_as_string(Quoting::Kakoune))); } void Buffer::run_hook_in_own_context(StringView hook_name, StringView param, String client_name) |
