emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCHv4 1/4] `kill-buffer' runs query functions before checking buf


From: martin rudalics
Subject: Re: [PATCHv4 1/4] `kill-buffer' runs query functions before checking buffer modification.
Date: Mon, 24 Jun 2013 19:05:11 +0200

> * buffer.c (FKill_buffer): Run `kill-buffer-query-functions'
> before checking whether buffer is modified.  This lets
> `kill-buffer-query-functions' cancel killing of the buffer or save
> its content before `kill-buffer' asks user the "Buffer %s
> modified; kill anyway?" question.

We probably should guard against the case that the query functions
manage to kill the buffer prematurely.

martin



reply via email to

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