Subject: bug#39446: 28.0.50; Use quit-restore-window to close tab

From: Juri Linkov <[email-masked]>
Date: Fri, 07 Feb 2020 02:17:45 +0200

>> The same way as quit-window deletes the frame
>> when quitting the last window on the frame with e.g.
>>
>>   C-x 5 d RET q
>
> This doesn't delete the frame here.  Is the key sequence above
> correct?  If so, can you show a detailed use case where such
> deletion-on-quit happens?

Indeed.  I thought that it deletes the frame, but it only
minimizes/buries/hides the frame.

The frame is deleted only when quit-window is called
with a prefix arg, e.g.

  C-x 5 d RET C-u q

Since there is no such thing as tab minimizing,
it should be fine to just close the tab.