[Top][All Lists]

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

Re: find-file-literally

From: Stefan Monnier
Subject: Re: find-file-literally
Date: Tue, 24 Nov 2009 21:10:39 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

>>> !   (interactive
>>> !    (list (read-file-name
>>> !     "Find file literally: " nil default-directory
>>> !     (confirm-nonexistent-file-or-buffer))))
>> Good change, thank you.
> Please note that this change would be unnecessary if following lines
> were removed from `read-file-name':

>   (unless default-filename
>     (setq default-filename (if initial (expand-file-name initial dir)
>                              buffer-file-name)))

The part I like is (confirm-nonexistent-file-or-buffer) which wouldn't
be solved by removing those lines, right?


reply via email to

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