diff options
author | Case Duckworth | 2022-01-21 16:40:36 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-21 16:40:36 -0600 |
commit | 3ec991d541d8f6a285eb1a22d5f31d00afe85158 (patch) | |
tree | ea11b7c0228581b5741c7f2dc3d7413ff01678a9 /lisp/+elfeed.el | |
parent | Change system to machine (diff) | |
parent | Merge branch 'main' of https://tildegit.org/acdw/emacs (diff) | |
download | emacs-3ec991d541d8f6a285eb1a22d5f31d00afe85158.tar.gz emacs-3ec991d541d8f6a285eb1a22d5f31d00afe85158.zip |
Merge branch 'main' of tildegit.org:acdw/emacs
Diffstat (limited to 'lisp/+elfeed.el')
-rw-r--r-- | lisp/+elfeed.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/+elfeed.el b/lisp/+elfeed.el index 4a874c3..b2a578b 100644 --- a/lisp/+elfeed.el +++ b/lisp/+elfeed.el | |||
@@ -40,8 +40,9 @@ | |||
40 | 40 | ||
41 | (defun +elfeed-update-command () | 41 | (defun +elfeed-update-command () |
42 | (interactive) | 42 | (interactive) |
43 | (let ((script (expand-file-name "~/.local/bin/elfeed-update.el"))) | 43 | (let ((script (expand-file-name "~/.local/bin/elfeed")) |
44 | (message "[Elfeed] Updating in the background.") | 44 | (update-message-format "[Elfeed] Updating in the background...%s")) |
45 | (message update-message-format "") | ||
45 | (setq +elfeed--update-running t) | 46 | (setq +elfeed--update-running t) |
46 | (elfeed-db-save) | 47 | (elfeed-db-save) |
47 | (advice-add 'elfeed :override #'+elfeed--update-message) | 48 | (advice-add 'elfeed :override #'+elfeed--update-message) |
@@ -94,7 +95,7 @@ | |||
94 | (lambda (a b) | 95 | (lambda (a b) |
95 | (advice-remove 'elfeed #'+elfeed--update-message) | 96 | (advice-remove 'elfeed #'+elfeed--update-message) |
96 | (setq +elfeed--update-running nil) | 97 | (setq +elfeed--update-running nil) |
97 | (message "[Elfeed] Background update %s." | 98 | (message update-message-format |
98 | (string-trim b)))))) | 99 | (string-trim b)))))) |
99 | 100 | ||
100 | (defvar +elfeed--update-timer nil "Timer for `elfeed-update-command'.") | 101 | (defvar +elfeed--update-timer nil "Timer for `elfeed-update-command'.") |