diff options
| author | Maxime Coste <mawww@kakoune.org> | 2019-11-28 20:32:16 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2019-11-28 20:32:16 +1100 |
| commit | 085e7dd09e1933578350db1b4cd86f3286ceed24 (patch) | |
| tree | 8e0cb2945cf6abe29b84288acd595b25e608c93b /src | |
| parent | 2904d1342011b8b5e467f0eb0b1bd110f9a76c05 (diff) | |
| parent | 15f6485327d58063a2362234d9b86f7ce4abe888 (diff) | |
Merge remote-tracking branch 'lenormf/patch-2'
Diffstat (limited to 'src')
| -rw-r--r-- | src/commands.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cc b/src/commands.cc index 056e7017..156df476 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -830,7 +830,7 @@ const CommandDesc rename_buffer_cmd = { [](const ParametersParser& parser, Context& context, const ShellContext&) { if (not context.buffer().set_name(parser[0])) - throw runtime_error(format("unable to change buffer name to '{}'", parser[0])); + throw runtime_error(format("unable to change buffer name to '{}': a buffer with this name already exists", parser[0])); } }; |
