15 lines
585 B
EmacsLisp
15 lines
585 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)
|
|
(keymap-set global-map "C-c f f" #'elfeed)
|
|
(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)
|