Comment out buggy eww-browse-url advice
This commit is contained in:
parent
fab6d24ace
commit
91be58ecb5
14
init.el
14
init.el
|
@ -1035,11 +1035,12 @@ like a dumbass."
|
|||
(autoload 'elpher-go "elpher" nil t)
|
||||
|
||||
;; Make `eww' gemini/gopher aware. From Emacswiki.
|
||||
(define-advice eww-browse-url (:around (fn url &rest args) gemini-elpher)
|
||||
(cond ((string-match-p "\\`\\(gemini\\|gopher\\)://" url)
|
||||
(require 'elpher)
|
||||
(elpher-go url))
|
||||
(t (apply fn url args)))))
|
||||
;; (define-advice eww-browse-url (:around (fn url &rest args) gemini-elpher)
|
||||
;; (cond ((string-match-p "\\`\\(gemini\\|gopher\\)://" url)
|
||||
;; (require 'elpher)
|
||||
;; (elpher-go url))
|
||||
;; (t (apply fn url args))))
|
||||
)
|
||||
|
||||
(setup (:straight (gemini-mode
|
||||
:host nil
|
||||
|
@ -1051,7 +1052,8 @@ like a dumbass."
|
|||
:host nil
|
||||
:repo "https://alexschroeder.ch/cgit/gemini-write"
|
||||
:branch "main"))
|
||||
(require 'gemini-write))
|
||||
(with-eval-after-load 'elpher
|
||||
(require 'gemini-write)))
|
||||
|
||||
(setup (:straight (mastodon
|
||||
:host github
|
||||
|
|
Loading…
Reference in New Issue