|
From: | Ken Brown |
Subject: | Re: browse-url/w32-shell-execute problems on cygwin |
Date: | Wed, 17 Jun 2009 21:29:59 -0400 |
User-agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
On 6/17/2009 5:44 PM, Chong Yidong wrote:
Ken Brown <address@hidden> writes:- (browse-url (browse-url-file-url file)) + (if (eq system-type 'cygwin) + (shell-command (concat "cygstart " (shell-quote-argument file))) + (browse-url (browse-url-file-url file))) Is there a better way to do this?The better way is probably to change browse-url-default-browser
I'm not sure I understand. I already have a good way of asking a browser to load a URL via browse-url-default-windows-browser (as I patched it). The issue here is that browse-url-file-url doesn't return a suitable URL. Or am I misunderstanding you?
(BTW, this is all post-23.1).
Yes, I wasn't expecting anything else. Ken
[Prev in Thread] | Current Thread | [Next in Thread] |