Search code examples
emacsw3m

How can I open the link use the external default browser after loading the w3m?


After loading the w3m package, all the links are opened with the w3m now. It is fine. But how can I open it with the default external browser, like Firefox, in Windows?

The browse-url-browser-function is w3m now.

Also, I tried the w3m-view-url-with-external-browser command and it doesn't work.

Thanks.


Solution

  • Try this below.

    (setq browse-url-browser-function 'browse-url-firefox)