From 1eb9b6cb392f73279e0880b7e957a63fb48d0815 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 7 Jan 2022 00:05:45 -0600 Subject: Make elfeed load the database before opening --- lisp/+elfeed.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lisp') diff --git a/lisp/+elfeed.el b/lisp/+elfeed.el index 823902b..c26bfab 100644 --- a/lisp/+elfeed.el +++ b/lisp/+elfeed.el @@ -4,6 +4,7 @@ (require 'elfeed) +;; https://karthinks.com/software/lazy-elfeed/ (defun +elfeed-scroll-up-command (&optional arg) "Scroll up or go to next feed item in Elfeed" (interactive "^P") @@ -20,5 +21,12 @@ (scroll-down-command arg) (error (elfeed-show-prev))))) +;; https://babbagefiles.blogspot.com/2017/03/take-elfeed-everywhere-mobile-rss.html +(defun +elfeed () + "Wrapper to load the elfeed db from disk before opening." + (interactive) + (elfeed-db-load) + (elfeed)) + (provide '+elfeed) ;;; +elfeed.el ends here -- cgit 1.4.1-21-gabe81