emacsorg-modeeww

emacs (org-mode/helm-google) open links in eww?


I use emacs/ orgmode and helm-google.

When I open a page it opens it in google chrome. I would like it to open in eww. (ideally even have some way to have different hotkeys to open pages in either eww/chrome)

I tried to set var: browse-url-generic to 'eww', but no success.

I tried

(setq browse-url-browser-function 'browse-url-generic
  browse-url-generic-program "eww")

(as per How to make emacs org-mode open links to sites in Google Chrome?) but no success.

I asked the author of helm-google about this in this post, awaiting a reply?


Solution

  • (setq browse-url-browser-function 'eww-browse-url)
    

    should be what you're looking after.