Re: [PATCH 3/4] git.el: Check for existing buffers on revert.
- From
- Tommy Thorn <tommy-git@thorn.ws>
- Date
- Feb 9, 2008, 05:41 UTC
- Message-ID
- <47AD3CFC.7090401@thorn.ws>
- In-Reply-To
- <87prv7z84i.fsf@osv.gnss.ru>
Sergei Organov wrote:
> BTW, there is another related issue: what to do with buffers for which their > files disappear (are removed). AFAIK PCVS doesn't close such buffers, > that according to the above logic is confusing as well. >
Please don't revert such buffers! More than once have I been saved from a blunder by the fact that Emacs still had a copy of the accidentally erase/overwritten file. The normal Emacs behaviour is to prompt upon editing whether to edit the buffer since the file has changed.
Thanks Tommy