Move acdw/add-button-url-regexp-protocol
This commit is contained in:
parent
0fa1f6ce4f
commit
9eb8e7a3dc
8
init.el
8
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
|
||||
|
|
Loading…
Reference in New Issue