help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: read-file-name


From: Kevin Rodgers
Subject: Re: read-file-name
Date: Tue, 20 Apr 2004 15:15:23 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Elvin Peterson wrote:
> Thanks.  The default is not an issue when the directory DIR is an
> absolute path.  Shouldn't it show up in the read-file-name
> documentation?

I don't see any difference in the behavior of read-file-name when DIR is
an absolute vs. relative path.  If I type RET at the prompt, both of
these forms return DIR:

(read-file-name "Image File: " "images")
(read-file-name "Image File: " "/images")

P.S. You probably want to use "images/" as DIR anyway -- see
     file-name-as-directory.

--
Kevin Rodgers



reply via email to

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