From 5771ec53e06ebf168320576b7b22f2fbe77aa7b0 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Mon, 31 Mar 2025 09:46:17 +0200 Subject: [PATCH] ; Twice mention 'tab' value in buffer display doc-strings (Bug#71386) * lisp/window.el (display-buffer-record-window) (window--display-buffer): Mention value 'tab' for TYPE argument (Bug#71386). (cherry picked from commit 1ed1cc83491311517ba46dff73fdc4383ffd4102) --- lisp/window.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/window.el b/lisp/window.el index fc353f0fd75..f4981be4104 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -6875,8 +6875,9 @@ WINDOW's buffer (although WINDOW may show BUFFER already). TYPE specifies the type of the calling operation and must be one of the symbols `reuse' (meaning that WINDOW exists already and will be used for displaying BUFFER), `window' (WINDOW was created -on an already existing frame) or `frame' (WINDOW was created on a -new frame). +on an already existing frame), `frame' (WINDOW was created on a +new frame) or `tab' (WINDOW is the selected window and BUFFER was +created in a new tab). This function installs or updates the `quit-restore' parameter of WINDOW. The `quit-restore' parameter is a list of four elements: @@ -7623,7 +7624,8 @@ as compiled by `display-buffer'. TYPE must be one of the following symbols: `reuse' (which means WINDOW existed before the call of `display-buffer' and may already show BUFFER or not), `window' (WINDOW was created on an -existing frame) or `frame' (WINDOW was created on a new frame). +existing frame), `frame' (WINDOW was created on a new frame), or `tab' +(WINDOW is the selected window and BUFFER was displayed in a new tab). TYPE is passed unaltered to `display-buffer-record-window'. Handle WINDOW's dedicated flag as follows: If WINDOW already -- 2.39.5