[emacs] Fix org roam export configuration

Moving from :config to :init means the hook won't be added until the
package is actually loaded, i.e. after org-roam.
This commit is contained in:
Correl Roush 2022-10-28 23:50:24 -04:00
parent dc31eaa0f5
commit a4c432f511

View file

@ -4,9 +4,9 @@
* Look And Feel * Look And Feel
** Theme ** Theme
I'm feeling the gruvbox theme lately. I'm feeling the shades of purple theme lately.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq doom-theme 'doom-laserwave) (setq doom-theme 'doom-shades-of-purple)
#+end_src #+end_src
** Default font ** Default font
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -898,7 +898,7 @@ https://orgroam.com
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package! org-roam-export (use-package! org-roam-export
:after org-roam :after org-roam
:config :init
(add-hook 'org-export-before-processing-hook #'org-roam-export-preprocessor)) (add-hook 'org-export-before-processing-hook #'org-roam-export-preprocessor))
#+end_src #+end_src
**** Org Roam Bibtex **** Org Roam Bibtex