|
From: | Juri Linkov |
Subject: | Re: Turning on file-name-shadow-mode by default |
Date: | Tue, 15 Nov 2005 05:19:10 +0200 |
User-agent: | Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
>> Some packages like FFAP can read both a file name and URL in the same >> minibuffer. With leading "http://" highlighting of URL is wrong. > > Um, do they use `read-file-name' to read them?!? Almost. `ffap-read-file-or-url' let-binds `minibuffer-completing-file-name' to t and calls `completing-read' with its own predicate `ffap-read-file-or-url-internal' which depending on the minibuffer contents dispatches it either to `read-file-name-internal' or `ffap-read-url-internal'. -- Juri Linkov http://www.jurta.org/emacs/
[Prev in Thread] | Current Thread | [Next in Thread] |