[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: read-directory-name
From: |
Juri Linkov |
Subject: |
Re: read-directory-name |
Date: |
Tue, 10 May 2005 00:32:29 +0300 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux) |
> Sorry, that was wrong. It should have been:
>
> ! (if initial (concat dir initial) dir default-directory)))
>
> Obviously, that was even _more_ wrong.
> It should have been the following, as in Juri's original patch:
>
> - (if initial (concat dir initial) default-directory)))
> + (or (if initial (concat dir initial))
> + dir
> + default-directory)))
I haven't installed this patch, because I've found that
`read-directory-name' inherits its behavior from `read-file-name',
so changing `read-directory-name' would make it inconsistent with
`read-file-name'.
--
Juri Linkov
http://www.jurta.org/emacs/
Re: read-directory-name, Richard Stallman, 2005/05/08