summary refs log tree commit diff stats
path: root/lisp
diff options
context:
space:
mode:
authorCase Duckworth2022-01-07 00:05:45 -0600
committerCase Duckworth2022-01-07 00:05:45 -0600
commit1eb9b6cb392f73279e0880b7e957a63fb48d0815 (patch)
treeb9f10f138a6f64b31b9d8717f30b9b6cfa4b5962 /lisp
parentBegin customizing embark (diff)
downloademacs-1eb9b6cb392f73279e0880b7e957a63fb48d0815.tar.gz
emacs-1eb9b6cb392f73279e0880b7e957a63fb48d0815.zip
Make elfeed load the database before opening
Diffstat (limited to 'lisp')
-rw-r--r--lisp/+elfeed.el8
1 files changed, 8 insertions, 0 deletions
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 @@
4 4
5(require 'elfeed) 5(require 'elfeed)
6 6
7;; https://karthinks.com/software/lazy-elfeed/
7(defun +elfeed-scroll-up-command (&optional arg) 8(defun +elfeed-scroll-up-command (&optional arg)
8 "Scroll up or go to next feed item in Elfeed" 9 "Scroll up or go to next feed item in Elfeed"
9 (interactive "^P") 10 (interactive "^P")
@@ -20,5 +21,12 @@
20 (scroll-down-command arg) 21 (scroll-down-command arg)
21 (error (elfeed-show-prev))))) 22 (error (elfeed-show-prev)))))
22 23
24;; https://babbagefiles.blogspot.com/2017/03/take-elfeed-everywhere-mobile-rss.html
25(defun +elfeed ()
26 "Wrapper to load the elfeed db from disk before opening."
27 (interactive)
28 (elfeed-db-load)
29 (elfeed))
30
23(provide '+elfeed) 31(provide '+elfeed)
24;;; +elfeed.el ends here 32;;; +elfeed.el ends here