From 9eb8e7a3dc1be026b315799891ab8d14673da36c Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 25 May 2021 12:54:42 -0500 Subject: Move acdw/add-button-url-regexp-protocol --- init.el | 8 ++++---- 1 file 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 @@ (set-default (if (version<= emacs-version "28") 'browse-url-browser-function 'browse-url-handlers) - '(("." . eww-browse-url)))) + '(("." . eww-browse-url))) + + ;; Buttonize gemini:// links. + (acdw/add-button-url-regexp-protocol "gemini")) (setup buffers (:global "C-x k" acdw/kill-a-buffer)) @@ -892,9 +895,6 @@ if ripgrep is installed, otherwise `consult-grep'." (elpher-go url)) (t (apply fn url args)))) - ;; And buttonize gemini:// links. - (acdw/add-button-url-regexp-protocol "gemini") - (:when-loaded (setup (:straight (gemini-write :host nil -- cgit 1.4.1-21-gabe81