nixos/home/emacs/modules/custom-feed-config.el
Evie Litherland-Smith 0ee059a354 Revert "Switch emacs package definitions to use use-package"
This reverts commit 32436bb052.

Broke lots of config, TODO revisit another time
2023-10-31 07:59:37 +00:00

11 lines
538 B
EmacsLisp

(when (require 'elfeed nil :noerror)
(let ((elfeed-base-directory "~/.elfeed"))
(setq elfeed-db-directory (expand-file-name "db" elfeed-base-directory)
elfeed-enclosure-default-dir (expand-file-name "enclosures" elfeed-base-directory)
rmh-elfeed-org-files (list (expand-file-name "feeds.org" elfeed-base-directory))))
(add-hook 'elfeed-search-mode-hook #'elfeed-update)
(when (require 'elfeed-org nil :noerror) (elfeed-org))
(when (require 'elfeed-tube nil :noerror) (elfeed-tube-setup)))
(provide 'custom-feed-config)