12 lines
531 B
EmacsLisp
12 lines
531 B
EmacsLisp
(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))))
|
|
|
|
(when (require 'elfeed nil :noerror)
|
|
(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)
|