Don't throw error if elfeed org file does not exist
The user may not want an org file, so we shouldn't impose this error on them if one doesn't exist.
This commit is contained in:
parent
60fde473d4
commit
e3d7b2662c
1 changed files with 5 additions and 4 deletions
|
@ -66,7 +66,8 @@ easier to scroll through.")
|
||||||
:init
|
:init
|
||||||
(setq rmh-elfeed-org-files (list "elfeed.org"))
|
(setq rmh-elfeed-org-files (list "elfeed.org"))
|
||||||
:config
|
:config
|
||||||
(let ((default-directory org-directory))
|
(and (let ((default-directory org-directory))
|
||||||
(setq rmh-elfeed-org-files
|
(setq rmh-elfeed-org-files
|
||||||
(mapcar #'expand-file-name rmh-elfeed-org-files)))
|
(cl-remove-if-not
|
||||||
(elfeed-org))
|
#'file-exists-p (mapcar #'expand-file-name rmh-elfeed-org-files))))
|
||||||
|
(elfeed-org)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue