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

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

Re: browse-url


From: Greg Novak
Subject: Re: browse-url
Date: Tue, 5 Apr 2005 02:19:42 -0700
User-agent: Mutt/1.4.1i

* Joe Corneli <address@hidden> wrote:
> Both of these functions appear to require starting a new firefox. (??)

By a cosmic coincidence I just put the following in my .emacs file,
which opens a page in a new tab using an existing Firefox.  

(defun browse-url-firefox (url &optional new-window)
  (shell-command (concat "/usr/local/firefox/mozilla-xremote-client \"openurl("
                 url
                 ",new-tab)\"")))

(setq browse-url-browser-function 'browse-url-firefox)

Greg




reply via email to

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