emacs.d

My Emacs configuration
git clone https://git.jamzattack.xyz/emacs.d
Log | Files | Refs | LICENSE

commit 52bfee8c7e55a7c7a0ee8ee22b2ee9ca7bcb8ed5
parent f0d23c0e9c5e20eab854015cbeeb4ca659957e41
Author: Jamie Beardslee <beardsleejamie@gmail.com>
Date:   Sat, 30 May 2020 04:47:25 +1200

Added (use-package elpher)

Diffstat:
Mconfig.org | 21+++++++++++++++++++++
1 file changed, 21 insertions(+), 0 deletions(-)

diff --git a/config.org b/config.org @@ -2204,6 +2204,27 @@ similarly to Notmuch. To get the list of feeds, I decrypt the file (elfeed-update)) #+end_src +*** Elpher + +Elpher is a gopher and gemini browser for Emacs. + +I add an entry in =browse-url-handlers= so that gopher links are +opened in Elpher (this does not work from eww). This requires +creating a new function which can accept the extra arguments. + +#+begin_src emacs-lisp + (use-package elpher + :straight t + :defer t + :init + (defun elpher-go-please (url &rest _ignore) + "Like `elpher-go', but allows extra arguments. + This is useful for `browse-url-handlers'" + (elpher-go url)) + (add-to-list 'browse-url-handlers + '("^\\(gopher\\|gemini\\)://" . elpher-go-please))) +#+end_src + **** Elfeed functions ***** Create new search functions