Add elfeed integration with my/denote/url
This commit is contained in:
parent
0bc4ca1137
commit
b0419a4e77
|
@ -802,6 +802,15 @@ Based on an answer at the [[https://emacs.stackexchange.com/a/77480/34645][Emacs
|
|||
'org
|
||||
(denote-subdirectory-prompt))
|
||||
(org-set-property "URL" url))
|
||||
|
||||
(defun my/elfeed/entry-url ()
|
||||
"Return the URL of the current elfeed entry."
|
||||
(when-let ((entry (or elfeed-show-entry
|
||||
(elfeed-search-selected :ignore-region))))
|
||||
(cons (elfeed-entry-link entry)
|
||||
(elfeed-entry-title entry))))
|
||||
|
||||
(add-to-list 'my/denote/url-functions #'my/elfeed/entry-url)
|
||||
#+end_src
|
||||
|
||||
* Using gpg-agent inside Emacs in Termux
|
||||
|
|
|
@ -70,3 +70,12 @@ looking at the <title> tags."
|
|||
'org
|
||||
(denote-subdirectory-prompt))
|
||||
(org-set-property "URL" url))
|
||||
|
||||
(defun my/elfeed/entry-url ()
|
||||
"Return the URL of the current elfeed entry."
|
||||
(when-let ((entry (or elfeed-show-entry
|
||||
(elfeed-search-selected :ignore-region))))
|
||||
(cons (elfeed-entry-link entry)
|
||||
(elfeed-entry-title entry))))
|
||||
|
||||
(add-to-list 'my/denote/url-functions #'my/elfeed/entry-url)
|
||||
|
|
Loading…
Reference in a new issue