Next: clone-indirect-buffer-other-window—C-x 4 c, Previous: make-indirect-buffer, Up: Indirect Buffers [Index]
This function creates and returns a new indirect buffer that shares the current buffer’s base buffer and copies the rest of the current buffer’s attributes.
If DISPLAY-FLAG is non-‘nil’, as it always is in interactive calls, that means
to display the new buffer by calling pop-to-buffer
.
Create an indirect buffer that is a twin copy of the current buffer.
name to give to the new indirect buffer. If nil, defaults to the current buffer’s name, modified by adding an <N> suffix to it, or incrementing the N in an existing suffix.
if non-nil, show the new buffer with pop-to-buffer
.
if non-nil, do not put this buffer at the front fo the list of recently selected ones.
the newly-created indirect buffer.