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

后端 未结 7 1758
梦谈多话
梦谈多话 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:42

    I am on MacOS and the browse-url-default-macos-browser does not work for me.

    My solution is:

    (setq browse-url-browser-function 'browse-url-chrome)
    (setq browse-url-chrome-program "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"))
    

提交回复
热议问题