Next: , Up: Indirect Buffers   [Index]


7.4.9.1 make-indirect-buffer

The general way to make an indirect buffer.

Function: make-indirect-buffer base-buffer name &optional clone

Create and return an indirect buffer for buffer BASE-BUFFER, named NAME.

BASE-BUFFER

should be a live buffer or the name of an existing buffer.

NAME

should be a string which is not the name of an existing buffer.

CLONE

if non-nil, preserve BASE-BUFFER’s state in the indirect buffer; if nil, the indirect buffer’s state is reset to default values.