From 38c273a5d9a5f83ece316299654fe15b73520f70 Mon Sep 17 00:00:00 2001 From: oreodave Date: Tue, 27 Aug 2019 17:23:37 +0100 Subject: +config for elfeed elfeed-org doesn't seem to work the way I want it to. So instead, added my own compilation steps and functions. Compile org to opml, then load opml in elfeed --- doom.d/config.org | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'doom.d/config.org') diff --git a/doom.d/config.org b/doom.d/config.org index e0d0b28..f847370 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -92,6 +92,25 @@ Really simple, just want to set projectile-tags-command when projectile has load (setq wakatime-api-key (shell-command-to-string "pass Keys/Wakatime")) #+END_SRC Using new password holder (pass) to help with secure transactions. +*** Elfeed +#+BEGIN_SRC emacs-lisp +(after! elfeed + (defun oreodave/elfeed/load-feeds () + (interactive) + (setq elfeed-feeds nil) + (elfeed-load-opml (concat org-directory "/elfeed.opml"))) + + (defun oreodave/elfeed/on-new-feed () + (interactive) + (elfeed-org-export-opml) + (write-file (concat org-directory "/elfeed.opml")) + (kill-current-buffer) + ) + + (add-hook 'elfeed-org-new-entry-hook 'oreodave/elfeed/on-new-feed) + ;; (oreodave/elfeed/load-feeds) + ) +#+END_SRC *** Dash #+BEGIN_SRC emacs-lisp (setq dash-docs-docsets-path "~/.docsets") -- cgit v1.2.3-13-gbd6f