diff options
| author | cashmere <cashmere@autistici.org> | 2026-08-02 13:57:21 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-08-02 13:57:21 +0200 |
| commit | afb37d6cc8522221fd5fc6f4122660326f511035 (patch) | |
| tree | 11c068deb04bc69ecb83a480f1db375f5c0355e7 | |
| parent | 46a4cc10f0999a4fd95a229f1dd868accc6169ee (diff) | |
| download | emacs-afb37d6cc8522221fd5fc6f4122660326f511035.tar.gz | |
add reload elfeed fn
| -rw-r--r-- | config.org | 12 | ||||
| -rw-r--r-- | init.el | 6 |
2 files changed, 18 insertions, 0 deletions
@@ -4572,6 +4572,18 @@ date) and the dired header are never skipped." :config (elfeed-protocol-enable)) +(defun my/elfeed-reset () + "Delete the local elfeed database and re-fetch everything from tt-rss. +Fixes stale feeds that were removed server-side but still show up +locally. Note: entries no longer present on the server are lost." + (interactive) + (when (yes-or-no-p "Delete local elfeed db and re-fetch all feeds from tt-rss? ") + (elfeed-db-unload) + (delete-directory elfeed-db-directory t) + (make-directory elfeed-db-directory t) + (elfeed-db-load) + (elfeed-update))) + (use-package elfeed-goodies :ensure t :after elfeed @@ -47,6 +47,12 @@ (add-hook 'after-init-hook #'elpaca-process-queues) (elpaca `(,@elpaca-order)) +;; mu4e is not on MELPA; it ships with the system `mu` package and is already +;; on load-path via the Nix emacs wrapper. Ignore it as a dependency so +;; packages requiring it (nano-mu4e) don't try (and fail) to fetch it. +(with-eval-after-load 'elpaca + (add-to-list 'elpaca-ignored-dependencies 'mu4e)) + ;; Install use-package support (elpaca (elpaca-use-package :wait t) (elpaca-use-package-mode) |
