Re: read-directory-name

2005-05-09 Thread Juri Linkov
>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

Re: read-directory-name

2005-05-08 Thread Richard Stallman
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

Re: read-directory-name

2005-05-06 Thread Luc Teirlinck
>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. ___

Re: read-directory-name

2005-05-06 Thread Luc Teirlinck
>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

Re: read-directory-name

2005-05-06 Thread Luc Teirlinck
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

Re: read-directory-name

2005-05-06 Thread Luc Teirlinck
>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 "

Re: read-directory-name

2005-05-06 Thread Luc Teirlinck
>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)