org/org: resolve +rss-elfeed-files later
This gives the user more time to change +org-dir.
This commit is contained in:
parent
48bbdbaf22
commit
be0e23686b
1 changed files with 2 additions and 5 deletions
|
@ -4,10 +4,7 @@
|
||||||
;; by apps Reeder and Readkit. It can be invoked via `=rss'. Otherwise, if you
|
;; by apps Reeder and Readkit. It can be invoked via `=rss'. Otherwise, if you
|
||||||
;; don't care for the UI you can invoke elfeed directly with `elfeed'.
|
;; don't care for the UI you can invoke elfeed directly with `elfeed'.
|
||||||
|
|
||||||
(defvar +rss-org-dir (concat +org-dir "/rss/")
|
(defvar +rss-elfeed-files (list "rss/elfeed.org")
|
||||||
"Where RSS org files are located.")
|
|
||||||
|
|
||||||
(defvar +rss-elfeed-files (list "elfeed.org")
|
|
||||||
"The files that configure `elfeed's rss feeds.")
|
"The files that configure `elfeed's rss feeds.")
|
||||||
|
|
||||||
(defvar +rss-split-direction 'below
|
(defvar +rss-split-direction 'below
|
||||||
|
@ -62,6 +59,6 @@
|
||||||
:after elfeed
|
:after elfeed
|
||||||
:config
|
:config
|
||||||
(setq rmh-elfeed-org-files
|
(setq rmh-elfeed-org-files
|
||||||
(let ((default-directory +rss-org-dir))
|
(let ((default-directory +org-dir))
|
||||||
(mapcar #'expand-file-name +rss-elfeed-files)))
|
(mapcar #'expand-file-name +rss-elfeed-files)))
|
||||||
(elfeed-org))
|
(elfeed-org))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue