Fix feeds file/directory shortcut

Was pointing to old feeds file (doesn't exist any more), now pulls
value directly from rmh-elfeed-org-files variable
This commit is contained in:
Evie Litherland-Smith 2024-03-30 10:31:39 +00:00
parent 160b52ee99
commit c1f0521488

View file

@ -60,17 +60,17 @@
(find-file (car org-cite-global-bibliography))) (find-file (car org-cite-global-bibliography)))
(keymap-global-set "C-c w b" #'my/open-global-bibliography) (keymap-global-set "C-c w b" #'my/open-global-bibliography)
#+end_src #+end_src
** RSS feeds file ** RSS feeds directory
#+begin_src emacs-lisp #+begin_src emacs-lisp
;; Elfeed feeds file shortcut ;; Elfeed feeds directory shortcut
(defun my/open-feeds-file () (defun my/open-feeds-directory ()
"Open org file containing elfeed sources." "Open directory containing elfeed sources."
(interactive) (interactive)
(require 'org) (require 'org)
(require 'elfeed) (require 'elfeed)
(require 'elfeed-org) (require 'elfeed-org)
(find-file (expand-file-name "feeds.org" org-directory))) (find-file (file-name-directory (car rmh-elfeed-org-files))))
(keymap-global-set "C-c w f" #'my/open-feeds-file) (keymap-global-set "C-c w f" #'my/open-feeds-directory)
#+end_src #+end_src
** Documents and Downloads ** Documents and Downloads
#+begin_src emacs-lisp #+begin_src emacs-lisp