Subject: bug#71386: 29.1; Frame is auto-deleted even when it has multiple tabs

From: martin rudalics <[email-masked]>
Date: Sun, 30 Mar 2025 15:55:45 +0200

> I'll give it a try.  I have a question, though, and sorry if the answer is
 > obvious.  Where is the window parameter 'quit-restore get set 'tab to begin
 > with?

At the very end of 'display-buffer-record-window'

    ((eq type 'tab)
     ;; WINDOW has been created on a new tab.
     (set-window-parameter
      window 'quit-restore
      (list 'tab 'tab (selected-window) buffer)))))

I suppose.  The initial call is from 'display-buffer-in-new-tab'.

martin