Masatake YAMATO <[EMAIL PROTECTED]> writes: > BTW, read-directory-name exists in GNU Emacs in CVS. So, I think we > should use: > > (if (fboundp 'read-directory-name) > (read-directory-name prompt dir default-dirname mustmatch initial) > (read-file-name prompt dir default-dirname mustmatch initial))
The original issue was that SLIME would define its own version of read-directory-name if it wasn't already fbound, but this version had slightly different semantics to the standard read-directory-name[1]. This is why I implemented tla--read-directory-name in terms of read-file-name--we can't rely on read-directory-name to behave correctly, even if it is present. Cheers, Mark Footnotes: [1] https://mail.gna.org/public/xtla-el-dev/2004-07/msg00025.html -- Mark Triggs <[EMAIL PROTECTED]>
