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

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

Re: browse-url


From: Joe Corneli
Subject: Re: browse-url
Date: Tue, 05 Apr 2005 14:57:20 -0500

Well here's a version that works for me & that will either open a
new firefox or use an existing one.  I think I'll send a bug
report about the issue I was seeing doing this the "simple way".

(defun browse-url-firefox (url &optional new-window)
  (when (eq (shell-command
             (concat 
              "/sw/lib/firefox/mozilla-xremote-client \"openurl("
              url
              ")\"")) 2)
    (call-process "firefox" nil 0 nil url)))




reply via email to

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