[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M is now browsing with emacs-w3m instead of firefox due to my overloaded configuration files that grow larger each day due to helpful advice
- From: Michael Heerdegen <michael_heerdegen@xxxxxx>
- Date: Sat, 14 Dec 2013 05:10:06 +0100
- X-ml-name: emacs-w3m
- X-mail-count: 12259
- References: <87haacjdyl.fsf@xxxxxxxxxxx>
jidanni@xxxxxxxxxxx writes:
> The latest problem is M is now browsing with emacs-w3m instead of
> firefox.
That's because you did
(setq browse-url-browser-function #'w3m-browse-url)
as I suggested. Obviously, this setting is also respected by w3m.
Maybe w3m could behave better in this case. Anyway, here's what I do:
--8<---------------cut here---------------start------------->8---
(add-hook
'w3m-mode-hook
(lambda ()
(set (make-local-variable 'browse-url-browser-function)
#'browse-url-generic)))
--8<---------------cut here---------------end--------------->8---
I should have mentioned that yesterday, sorry.
Regards,
Michael.