summaryrefslogtreecommitdiff
path: root/devdocs/elisp/buffer-parameters.html
blob: e0d2745e2eb587e6d33d0e9a7ec39365d5b03486 (plain)
1
2
3
4
5
6
7
8
9
 <h4 class="subsubsection">Buffer Parameters</h4>   <p>These frame parameters, meaningful on all kinds of terminals, deal with which buffers have been, or should, be displayed in the frame. </p> <dl compact>  <dt><code>minibuffer</code></dt> <dd>
<p>Whether this frame has its own minibuffer. The value <code>t</code> means yes, <code>nil</code> means no, <code>only</code> means this frame is just a minibuffer. If the value is a minibuffer window (in some other frame), the frame uses that minibuffer. </p> <p>This parameter takes effect when the frame is created. If specified as <code>nil</code>, Emacs will try to set it to the minibuffer window of <code>default-minibuffer-frame</code> (see <a href="minibuffers-and-frames">Minibuffers and Frames</a>). For an existing frame, this parameter can be used exclusively to specify another minibuffer window. It is not allowed to change it from a minibuffer window to <code>t</code> and vice-versa, or from <code>t</code> to <code>nil</code>. If the parameter specifies a minibuffer window already, setting it to <code>nil</code> has no effect. </p> <p>The special value <code>child-frame</code> means to make a minibuffer-only child frame (see <a href="child-frames">Child Frames</a>) whose parent becomes the frame created. As if specified as <code>nil</code>, Emacs will set this parameter to the minibuffer window of the child frame but will not select the child frame after its creation. </p>  </dd> <dt><code>buffer-predicate</code></dt> <dd>
<p>The buffer-predicate function for this frame. The function <code>other-buffer</code> uses this predicate (from the selected frame) to decide which buffers it should consider, if the predicate is not <code>nil</code>. It calls the predicate with one argument, a buffer, once for each buffer; if the predicate returns a non-<code>nil</code> value, it considers that buffer. </p>  </dd> <dt><code>buffer-list</code></dt> <dd>
<p>A list of buffers that have been selected in this frame, ordered most-recently-selected first. </p>  </dd> <dt><code>unsplittable</code></dt> <dd><p>If non-<code>nil</code>, this frame’s window is never split automatically. </p></dd> </dl><div class="_attribution">
  <p class="_attribution-p">
    Copyright &copy; 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
    <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Buffer-Parameters.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Buffer-Parameters.html</a>
  </p>
</div>