about summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-05-25 12:54:42 -0500
committerCase Duckworth2021-05-25 12:54:42 -0500
commit9eb8e7a3dc1be026b315799891ab8d14673da36c (patch)
tree8908ab30d6d221f9c1b462d3fd9f274a7798399f /init.el
parentFormatting ... and stuff (diff)
downloademacs-9eb8e7a3dc1be026b315799891ab8d14673da36c.tar.gz
emacs-9eb8e7a3dc1be026b315799891ab8d14673da36c.zip
Move acdw/add-button-url-regexp-protocol
Diffstat (limited to 'init.el')
-rw-r--r--init.el8
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