Every time I click a link in emacs, it opens Firefox (I'm running Ubuntu). I'd like to replace that with Chrome.
I've tried
(setq browse-url-browser-function 'browse-url-generic
browse-url-generic-program "google-chrome")
as per http://evan-tech.livejournal.com/268748.html but it does not work for me.
Emacs version: GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of 2011-03-04 on allspice, modified by Debian
(setq ...)
to your~/.emacs
?