blob: c26bfabf956576879880ebe0bf5c3b0cfe03b997 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
;;; +elfeed.el -*- lexical-binding: t; -*-
;;; Code:
(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")
(let ((scroll-error-top-bottom nil))
(condition-case-unless-debug nil
(scroll-up-command arg)
(error (elfeed-show-next)))))
(defun +elfeed-scroll-down-command (&optional arg)
"Scroll up or go to next feed item in Elfeed"
(interactive "^P")
(let ((scroll-error-top-bottom nil))
(condition-case-unless-debug nil
(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
|