mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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)))
|
||||||
|
Reference in New Issue
Block a user