emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Save unmodified buffer when file has been deleted


From: Stefan Monnier
Subject: Re: [PATCH] Save unmodified buffer when file has been deleted
Date: Fri, 11 Feb 2011 09:38:25 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> +         (and (buffer-file-name)
> +              (not (file-exists-p (buffer-file-name)))))

Please just use the buffer-file-name variable rather than the function.
Other than that, it looks like a good change (I've gotten used to
hitting SPC Backspace C-x C-s, and I also use this when I just want to
`touch' the file, so I probably won't use this feature much, tho).


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]