diff --git a/src/commands.cc b/src/commands.cc index 76a0e845..2f4df4bc 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -1601,7 +1601,8 @@ void context_wrap(const ParametersParser& parser, Context& context, Func func) transform(std::mem_fn(&std::unique_ptr::get)); Vector> buffers{ptrs.begin(), ptrs.end()}; for (auto buffer : buffers) - context_wrap_for_buffer(*buffer); + if (not (buffer->flags() & Buffer::Flags::Debug)) + context_wrap_for_buffer(*buffer); } else for (auto& name : split(*bufnames, ','))