[Top][All Lists]

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

Re: read-file-name

From: Stefan Monnier
Subject: Re: read-file-name
Date: Mon, 09 Nov 2009 09:31:14 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> 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))))

-- Stefan

reply via email to

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