bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#25653: 25.1.91; buffer-file-name reports non-existing file


From: Andreas Röhler
Subject: bug#25653: 25.1.91; buffer-file-name reports non-existing file
Date: Wed, 8 Feb 2017 10:10:55 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.6.0

Emacs -Q

Open some non-existing foo.py

Before saving

M-x buffer-file-name RET reports PATH-to/foo.py as buffer-file-name.

IMO buffer-file-name only should get a value different from nil, if the buffer is connected with an existing file, as docu says:

Return name of file BUFFER is visiting, or nil if none.







reply via email to

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