[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: |
Trent Buck |
Subject: |
Re: set-visited-file-name with null buffer-file-name |
Date: |
Mon, 11 Jul 2005 02:44:04 +1000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Luc Teirlinck <address@hidden> writes:
> Trent 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,
Confirmed. Thanks for the prompt response.
--
Trent Buck, Student Errant