>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-directo
I forgot to delete the unless-form from read-directory-name.
I will do so. Thanks.
___
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
>From my previous message:
If both initial and default-dirname are nil, the second unless-form
default-dirname to default-directory.
Of course, meant was:
the second unless-form sets default-dirname
(I accidentally enabled Overwite mode again, without noticing it.)
Sincerely,
Luc.
___
>From my previous patch:
! (if initial (concat dir initial) dir)))
Sorry, that was wrong. It should have been:
! (if initial (concat dir initial) dir default-directory)))
But I saw that Juri already earlier proposed that exact same
(corrected as above) patch. Since it was not
Is the behavior implemented by the following patch what was really
intended by the April 23 change? One could, in addition to the patch
below, also change the `(concat dir initial)' into
`(expand-file-name initial dir)' which is probably more portable.
Note however that the _old_ (in fact _still
>From my prior message:
>From the following ielm run it appears that the Elisp documentation is
still correct, even though the code and docstring have changed (on
April 23) since I checked all of this quite a while ago:
ELISP> default-directory
"~/"
ELISP> (read-directory-name "
>From my previous reply:
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)