mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Mark +org-dir obsolete (use org-directory instead)
I prefer not to invent new variables when they aren't strictly necessary. org-directory is one such variable (although the other path variables are still necessary).
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
(elfeed-db-compact)
|
||||
(doom-kill-matching-buffers "^\\*elfeed")
|
||||
(dolist (file +rss-elfeed-files)
|
||||
(when-let* ((buf (get-file-buffer (expand-file-name file +org-dir))))
|
||||
(when-let* ((buf (get-file-buffer (expand-file-name file org-directory))))
|
||||
(kill-buffer buf))))
|
||||
|
||||
;;;###autoload
|
||||
|
@ -5,8 +5,8 @@
|
||||
;; don't care for the UI you can invoke elfeed directly with `elfeed'.
|
||||
|
||||
(defvar +rss-elfeed-files (list "elfeed.org")
|
||||
"Where to look for elfeed.org files, relative to `+org-dir'. Can be absolute
|
||||
paths.")
|
||||
"Where to look for elfeed.org files, relative to `org-directory'. Can be
|
||||
absolute paths.")
|
||||
|
||||
(defvar +rss-split-direction 'below
|
||||
"What direction to pop up the entry buffer in elfeed.")
|
||||
@ -65,6 +65,6 @@ paths.")
|
||||
:after elfeed
|
||||
:config
|
||||
(setq rmh-elfeed-org-files
|
||||
(let ((default-directory +org-dir))
|
||||
(let ((default-directory org-directory))
|
||||
(mapcar #'expand-file-name +rss-elfeed-files)))
|
||||
(elfeed-org))
|
||||
|
Reference in New Issue
Block a user