From 01dd8198d8769b4c9ac9a815f2c757af4462c543 Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 17 Aug 2021 22:12:51 +0100 Subject: jao-rss-subscribe as an embark action --- completion.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'completion.org') diff --git a/completion.org b/completion.org index d8c74d9..01ef0db 100644 --- a/completion.org +++ b/completion.org @@ -367,14 +367,14 @@ (add-to-list 'embark-target-finders #'jao-embark-targets--w3m-anchor) (defun jao-embark-url (url) - "Browse URL, externally if we're already in emacs-w3m" + "Browse URL, externally if we're already in an emacs browser." (if (derived-mode-p 'w3m-mode 'eww-mode) (jao-browse-with-external-browser url) (browse-url url))) (define-key embark-url-map (kbd "RET") #'jao-embark-url) - (define-key embark-url-map (kbd "e") #'jao-eww-browse-url) (define-key embark-url-map (kbd "f") #'browse-url-firefox) + (define-key embark-url-map (kbd "x") #'jao-rss-subscribe) (define-key embark-url-map (kbd "m") 'jao-browse-with-external-browser) #+end_src *** video url targets -- cgit v1.2.3