[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to revert buffer from "Save file?" prompt?
From: |
Sergey Organov |
Subject: |
Re: How to revert buffer from "Save file?" prompt? |
Date: |
Tue, 08 Jun 2021 20:56:50 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Möding <s.moeding@gmail.com> writes:
> Sergey Organov <sorganov@gmail.com> writes:
>
>> Yes, and that's exactly the problem. It will ask me again and again
>> every time I compile. Annoying as hell.
>
> Is the problem about trying to compile a file visited in one buffer and
> being asked about changed files in some other buffers?
Not exactly, compile is just an indicator of a usability problem, and it
asks about changes in some (other) buffers, yes.
>
> Maybe setting the variable `compilation-ask-about-save' to nil will help
> to stop `compile' from asking every time.
No, this is not an option, I do want to be asked about unsaved changes,
I just want not only to be able to save them, but discard them as well.
Thanks,
-- Sergey Organov