help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Open Firefox from Emacs on MacOSX


From: Stefan Nobis
Subject: Re: Open Firefox from Emacs on MacOSX
Date: Wed, 16 May 2007 13:50:06 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.97 (darwin)

Harald Hanche-Olsen <hanche@math.ntnu.no> writes:

> (defun browse-url-firefox-on-mac (url &rest ignored)
>   (do-applescript
>    (format "tell application \"Firefox\" to Get URL \"%s\"" url)))
> (setq browse-url-browser-function 'browse-url-firefox-on-mac)

Thank you very much, this works also in (Carbon) Emacs 22.0.97. Nice
extra: It ignores the system default browser.

-- 
Stefan.


reply via email to

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