|
From: | martin rudalics |
Subject: | bug#71386: 29.1; Frame is auto-deleted even when it has multiple tabs |
Date: | Sat, 15 Jun 2024 10:42:05 +0200 |
User-agent: | Mozilla Thunderbird |
+(defvar window-delete-frame-functions nil + "A list of functions to handle the frame deletion. I'd still prefer a tab-bar specific option (like 'tab-bar-save-frame-p' as mentioned earlier) for two reasons. The first reason is that 'window--delete' is an internal function of window.el. I wouldn't want an internal function run a hook "of its own" because that's difficult to explain to users. OTOH I suppose that a function like 'tab-bar-save-frame-p' should be callable from any other function too, as soon as the need arises. The second reason is that I wouldn't want "anyone" to inhibit frame deletion. Such a facility could have consequences I cannot fathom at the moment. Would we want 'delete-frame' to obey it too and possibly spare the frame? Let's see what Haji-Ali thinks. martin
[Prev in Thread] | Current Thread | [Next in Thread] |