[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
get browse-url to use mozilla-firebird
From: |
Richard Molen |
Subject: |
get browse-url to use mozilla-firebird |
Date: |
Thu, 12 Feb 2004 19:43:09 GMT |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
How do I convince emacs 2.3.1's browse-url-at-point to use
the mozilla-firebird browser instead of the mozilla one?
This works great for Mozilla.
; Use Mozilla as default browser on Red Hat 7.3 or 8.0 Linux w/
; Gnome support. (For Emacs 21.2.1 and 21.3.1)
(setq browse-url-browser-function 'browse-url-gnome-moz)
After 'Google'ing I found some help on getting mozilla-firebird to act
the same way. This is what I have now.
; Use Mozilla Firebird (was Phoenix) on Fedora Core 1
(defun browse-url-mozilla-firebird (url arg)
(shell-command
(format "/usr/bin/mozilla-firebird -remote 'openURL(%s, new-tab)'"
url)))
(setq browse-url-browser-function 'browse-url-mozilla-firebird)
The browse-url-gnome-moz functions calls the GNOME program
gnome-moz-remote rather than directly calling /usr/bin/mozilla. This
which seems undesirable to me (since I occasionally use KDE too).
--
{{}, Richard Molen
(@ @)
,.(_),. "Furious activity is no substitute for
/ / ooOo oOoo \ \ understanding" -- H. H. Williams
/ /_____________\ \
/ ' '
- get browse-url to use mozilla-firebird,
Richard Molen <=