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: Bastien
Subject: Re: [PATCH] Save unmodified buffer when file has been deleted
Date: Fri, 11 Feb 2011 18:37:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> +        (and (buffer-file-name)
>> +             (not (file-exists-p (buffer-file-name)))))
>
> Please just use the buffer-file-name variable rather than the
> function.

Done, thanks.

> 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).

Well, we shouldn't get used to hit useless keystrokes :)

-- 
 Bastien



reply via email to

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