bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58909: 29.0.50; [WIP PATCH] Deleting the last frame of an emacsclien


From: Jim Porter
Subject: bug#58909: 29.0.50; [WIP PATCH] Deleting the last frame of an emacsclient doesn't ask to save
Date: Tue, 1 Nov 2022 15:39:29 -0700

On 11/1/2022 9:11 AM, Jim Porter wrote:
However, I'm not sure how to do this in a complete way without tweaking 'delete-frame-functions'. ...
Attached is a (hopefully) safer version of my change to 'delete-frame'. In this patch, a hook can only cancel frame deletion if FORCE is non-nil. This way, if there were ever some bug with a hook, you (or some code) can still force-delete the frame.

This would probably still need a NEWS entry, but I'm personally less worried about this change compared to my previous revision. What do you think?

Attachment: 0001-Let-delete-frame-functions-quit-out-of-frame-deletio.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]