How to make emacs org-mode open links to sites in Google Chrome?

后端 未结 7 1756
梦谈多话
梦谈多话 2020-12-12 22:15

Google Chrome is set as the default browser, however it opens links in Firefox, which is undesired.

How to make org-mode to open links in

7条回答
  •  一整个雨季
    2020-12-12 22:43

    As @Trey suggests, you can set it to a generic browser bu instead of "chromium-browser" use "google-chrome", like this:

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

    That worked for me with Emacs 23.2 and Chrome 12. Though it might be Chrome 13 by the time I'm done writing this answer ;-)

提交回复
热议问题