[Top][All Lists]

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

Re: read-file-name

From: Juri Linkov
Subject: Re: read-file-name
Date: Tue, 10 Nov 2009 02:55:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu)

>> All completion functions support a list of default values
>> except `read-file-name'.  The following patch fills this hole.
> Looks OK, feel free to install it.
>> !       (if (consp default-filename)
>> !      (setq default-filename (mapcar 'abbreviate-file-name 
>> default-filename))
>> !    (setq default-filename (abbreviate-file-name default-filename))))
> That should be
>        (setq default-filename
>              (if (consp default-filename)
>                  (mapcar 'abbreviate-file-name default-filename)
>                (abbreviate-file-name default-filename))))


BTW, do you know an Emacs function that does such
common subexpression elimination?

Juri Linkov

reply via email to

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