Evie Litherland-Smith
48aa8b1a5a
Replace use of keymap-set global-map with keymap-global-set for brevity
15 lines
581 B
EmacsLisp
15 lines
581 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-global-set "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)
|