]> git.eshelyaron.com Git - emacs.git/commitdiff
; Twice mention 'tab' value in buffer display doc-strings (Bug#71386)
authorMartin Rudalics <rudalics@gmx.at>
Mon, 31 Mar 2025 07:46:17 +0000 (09:46 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 31 Mar 2025 08:56:03 +0000 (10:56 +0200)
* 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

index fc353f0fd757249b0e0b18b8f90c137d8100d14a..f4981be41041cbd37439ddb175b5695850539d07 100644 (file)
@@ -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