Closed duianto closed 4 years ago
There is a problem with this because emacs uses a lot of one-off special buffers. I would love to have this as a feature though but only for the buffers I create manually. (e.g. not a magit or helm buffer.)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
Description :octocat:
Any text that has been written in a new buffer, that hasn't been saved to a file yet, will be lost right away if one deletes that buffer, because there's no confirmation before it gets deleted.
Reproduction guide :beetle:
Observed behaviour: :eyes: :broken_heart:
The buffer gets deleted instantly without asking for confirmation first.
Expected behaviour: :heart: :smile:
It should probably ask for confirmation first.
Possible prompt message (or something better):
slightly shorter:
The shorter messages would be similar to the current message that appears when one tries to delete a buffer containing a modified file: