keep-buffer(3)keep-buffer - Rename the current buffer
keep-buffer
keep-buffer renames the current buffer by appending a number to the end of the current buffer name. This ensures that, if the command used to generate the buffer (such as compile(3) and grep(3)) is rerun, the current buffer will not be deleted.
This command is useful when the current buffer is time consuming to generate and another compile or grep is needed before it has been fully processed.
It can also be used as a quick way to create multiple ishells, by executing this macro on the first *shell* buffer, which will rename it to *shell*1, executing ishell will create a new shell.
keep-buffer is a macro defined in tools.emf.
Ref: keep-buffer(3) File: m3mac102.3 Date: 2026/08/04
(c) Copyright JASSPA 2026