From b40eeae6e373d7d8bda5e18b09e2dabde76b3644 Mon Sep 17 00:00:00 2001 From: Bruno Heridet Date: Mon, 25 Mar 2019 16:44:34 +0100 Subject: [PATCH] doc: add precision about -buffer switch on eval/exec Relevant filter in the code: ``` if (*bufnames == "*") { for (auto&& buffer : BufferManager::instance() | transform(&std::unique_ptr::get) | filter([](Buffer* buf) { return not (buf->flags() & Buffer::Flags::Debug); }) | gather>>()) // gather as we might be mutating the buffer list in the loop. context_wrap_for_buffer(*buffer); } ``` --- doc/pages/execeval.asciidoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/pages/execeval.asciidoc b/doc/pages/execeval.asciidoc index 427cff89b..e2346019d 100644 --- a/doc/pages/execeval.asciidoc +++ b/doc/pages/execeval.asciidoc @@ -42,7 +42,8 @@ when the commands have been executed: */*, *"*, *|*, *^*, *@*. *-buffer* :: execute in the context of each buffers in the comma separated list - *names*. `*` as a name can be used to iterate on all buffers + *names*. `*` as a name can be used to iterate on all non-debug buffers + (See <>) *-save-regs* :: regs is a string of registers to be restored after execution (overwrites