emacs-devel
[Top][All Lists]
Advanced

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

Re: browse-url/w32-shell-execute problems on cygwin


From: Chong Yidong
Subject: Re: browse-url/w32-shell-execute problems on cygwin
Date: Wed, 17 Jun 2009 17:44:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux)

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 (BTW,
this is all post-23.1).




reply via email to

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