[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs does not detect a buffered file got deleted
From: |
Andreas Schwab |
Subject: |
Re: Emacs does not detect a buffered file got deleted |
Date: |
Mon, 08 Aug 2016 10:02:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
On Mo, Aug 08 2016, 路客 <address@hidden> wrote:
> When editing a file in Emacs and switching git branches, sometimes
> a file will be removed but Emacs won't detect it. Unlike modified
> files it will ask me to revert, deleted files are not. Is it
> intentional?
There is nothing to revert from. A buffer visiting a non-existing file
isn't an error condition, saving it will not lose anything.
Andreas.
--
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."