emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read-directory-name, the unloved


From: Andreas Schwab
Subject: Re: read-directory-name, the unloved
Date: Sat, 12 Feb 2011 15:44:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.93 (gnu/linux)

Antoine Levitt <address@hidden> writes:

> Read-directory-name is basically a wrapper on read-file-name, using
> file-directory-p as PREDICATE. So if anything else, read-directory-name
> is more restrictive than read-file-name. In any case, since MUSTMATCH
> is nil, there's no obligation to choose a real file/directory, so
> PREDICATE is only used for completion purposes.

dired accepts more than just a directory as argument, and I would be
annoyed if I would not be able complete a non-directory.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]