Fix setting elfeed directories
This commit is contained in:
parent
bea6ff65bc
commit
c70002fb0c
|
@ -1,6 +1,7 @@
|
|||
(setq elfeed-db-directory "~/.elfeed/db/"
|
||||
elfeed-enclosure-default-dir "~/.elfeed/enclosures/"
|
||||
rmh-elfeed-org-files (list (expand-file-name "feeds.org" elfeed-db-directory) "elfeed.org"))
|
||||
(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)
|
||||
|
|
Loading…
Reference in a new issue