[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47075: [FEATURE REQUEST] kill-buffer: option to prompt to save
From: |
Lars Ingebrigtsen |
Subject: |
bug#47075: [FEATURE REQUEST] kill-buffer: option to prompt to save |
Date: |
Fri, 24 Jun 2022 11:04:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Boruch Baum <boruch_baum@gmx.com> writes:
> Evaluating function `kill-buffer' for a modified file buffer leads to a
> prompt "foo modified, kill anyway (y or n)". Thus, for the common case
> of a user wanting to save and kill a modified buffer, the user must at
> this point perform three operations: respond no to the prompt, save the
> file, perform the kill-buffer operation a second time.
>
> It would be more convenient for the prompt to offer an option to 'save
> and kill' the buffer, so that no extra steps be required.
Yes, makes sense to me. I've now fixed this in Emacs 29.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#47075: [FEATURE REQUEST] kill-buffer: option to prompt to save,
Lars Ingebrigtsen <=