emacs-devel
[Top][All Lists]
Advanced

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

Re: rename-file


From: Stefan Monnier
Subject: Re: rename-file
Date: Thu, 27 Aug 2009 13:08:57 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> I should have left out the though-clause above, it was a misguided
> afterthought.  What's problematic is that returning the previous name
> contradicts the doc string of buffer-file-name: "Name of file visited in
> current buffer, or nil if not visiting a file."

The docstring sounds correct to me.  If you rename the underlying file,
it means the buffer's file name will refer to some other file (or no
file at all).


        Stefan




reply via email to

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