diff options
-rw-r--r-- | init.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/init.el b/init.el index 50e1f45..57c9705 100644 --- a/init.el +++ b/init.el | |||
@@ -112,7 +112,10 @@ | |||
112 | (set-default (if (version<= emacs-version "28") | 112 | (set-default (if (version<= emacs-version "28") |
113 | 'browse-url-browser-function | 113 | 'browse-url-browser-function |
114 | 'browse-url-handlers) | 114 | 'browse-url-handlers) |
115 | '(("." . eww-browse-url)))) | 115 | '(("." . eww-browse-url))) |
116 | |||
117 | ;; Buttonize gemini:// links. | ||
118 | (acdw/add-button-url-regexp-protocol "gemini")) | ||
116 | 119 | ||
117 | (setup buffers | 120 | (setup buffers |
118 | (:global "C-x k" acdw/kill-a-buffer)) | 121 | (:global "C-x k" acdw/kill-a-buffer)) |
@@ -892,9 +895,6 @@ if ripgrep is installed, otherwise `consult-grep'." | |||
892 | (elpher-go url)) | 895 | (elpher-go url)) |
893 | (t (apply fn url args)))) | 896 | (t (apply fn url args)))) |
894 | 897 | ||
895 | ;; And buttonize gemini:// links. | ||
896 | (acdw/add-button-url-regexp-protocol "gemini") | ||
897 | |||
898 | (:when-loaded | 898 | (:when-loaded |
899 | (setup (:straight (gemini-write | 899 | (setup (:straight (gemini-write |
900 | :host nil | 900 | :host nil |