[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: set-visited-file-name with null buffer-file-name
From: |
Luc Teirlinck |
Subject: |
Re: set-visited-file-name with null buffer-file-name |
Date: |
Sun, 10 Jul 2005 09:52:56 -0500 (CDT) |
Tent Buck wrote:
In files.el~CVS-1.778~:2548,25 is the call
(file-name-nondirectory buffer-file-name)
If buffer-file-name is nil, this creates an error:
(wrong-type-argument stringp nil)
You can reproduce this behaviour as follows:
C-x b asdfasdf RET C-x C-w /tmp/tmp RET
assuming that there is no buffer "asdfasdf" and no file "/tmp/tmp".
Should be fixed now,
Sincerely,
Luc.