How can I set the default browser for Emacs?

  • Follow


Google's not helping me here, and I can't seem to find this in the
manual.

I'd like to set the default browser for Emacs to be w3m, so that if I
do (for example) M-x hyperspec-lookup it doesn't open up Firefox on
me.  But I'd like to keep Firefox as the default browser for the rest
of my system.
0
Reply Angus77 8/29/2008 12:52:19 PM

On Fri, 29 Aug 2008 05:52:19 -0700 (PDT) Angus wrote:

> I'd like to set the default browser for Emacs to be w3m, so that if I
> do (for example) M-x hyperspec-lookup it doesn't open up Firefox on
> me.  But I'd like to keep Firefox as the default browser for the rest
> of my system.

(setq browse-url-browser-function #'w3m-browse-url)

David
0
Reply David 8/29/2008 12:58:50 PM


Thank you!

And sorry I couldn't figure this out on my own.
0
Reply Angus77 8/30/2008 2:09:29 AM

2 Replies
362 Views

(page loaded in 0.042 seconds)

Similiar Articles:













7/25/2012 10:55:43 PM


Reply: