Setup elfeed-org properly

This commit is contained in:
Evie Litherland-Smith 2023-10-24 21:18:00 +01:00
parent 73a3fed630
commit 51d10776dc
2 changed files with 4 additions and 3 deletions

View file

@ -7,7 +7,7 @@
;; before adding more packages. The value of the `custom-file' ;; before adding more packages. The value of the `custom-file'
;; variable must be set appropriately, by default the value is nil. ;; variable must be set appropriately, by default the value is nil.
;; This can be done here, or in the early-init.el file. ;; This can be done here, or in the early-init.el file.
(setq custom-file (expand-file-name "custom.el" user-emacs-directory)) (setq custom-file (locate-user-emacs-file "custom.el"))
(when (and custom-file (file-exists-p custom-file)) (when (and custom-file (file-exists-p custom-file))
(load custom-file nil 'nomessage)) (load custom-file nil 'nomessage))

View file

@ -1,9 +1,10 @@
(setq elfeed-db-directory "~/.elfeed/db/" (setq elfeed-db-directory "~/.elfeed/db/"
elfeed-enclosure-default-dir "~/.elfeed/enclosures/" elfeed-enclosure-default-dir "~/.elfeed/enclosures/"
elfeed-goodies/entry-pane-position 'bottom rmh-elfeed-org-files (list (locate-user-emacs-file "elfeed.org")))
elfeed-goodies/powerline-default-separator 'utf-8)
(add-hook 'elfeed-search-mode-hook #'elfeed-update) (add-hook 'elfeed-search-mode-hook #'elfeed-update)
(require 'elfeed) (require 'elfeed)
(require 'elfeed-org)
(require 'elfeed-tube) (require 'elfeed-tube)
(elfeed-org)
(elfeed-tube-setup) (elfeed-tube-setup)
(provide 'custom-feed-config) (provide 'custom-feed-config)