summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-05-24 21:40:51 -0500
committerCase Duckworth2021-05-24 21:40:51 -0500
commita32a3832ccceb685aa1370838f6419ab677ce1e3 (patch)
tree120c223c59f9550a1f7854fc04cd35fe559cfe0e
parentAdd gemini to browse-url-button-regexp (diff)
downloademacs-a32a3832ccceb685aa1370838f6419ab677ce1e3.tar.gz
emacs-a32a3832ccceb685aa1370838f6419ab677ce1e3.zip
Fix new window handling with browse-url
-rw-r--r--init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.el b/init.el index 759541a..5865154 100644 --- a/init.el +++ b/init.el
@@ -103,7 +103,8 @@
103 (if (executable-find "firefox") ; prefer Firefox 103 (if (executable-find "firefox") ; prefer Firefox
104 'browse-url-firefox 104 'browse-url-firefox
105 'browse-url-default-browser) 105 'browse-url-default-browser)
106 browse-url-new-window-flag t 106 browse-url-new-window-flag nil ; for eww
107 browse-url-firefox-arguments '("--new-tab") ; for firefox
107 browse-url-firefox-new-window-is-tab t) 108 browse-url-firefox-new-window-is-tab t)
108 109
109 ;; `browse-url-browser-function' as an alist is deprecated in Emacs 28 for 110 ;; `browse-url-browser-function' as an alist is deprecated in Emacs 28 for