Skip to content

Commit

Permalink
tweak(biblio): install citar-org-roam only when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jul 17, 2023
1 parent ac827ff commit 04590b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/me-biblio.el
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
(remove-hook 'server-after-make-frame-hook
#'+citar--set-symbols-once-h)))))))

;; If `org-roam' is not active, there is no need to install `citar-org-roam'
(unless (and (memq 'me-notes minemacs-modules)
(not (memq 'org-roam minemacs-disabled-packages)))
(push 'citar-org-roam minemacs-disabled-packages))

(use-package citar-org-roam
:straight t
:after citar org-roam
Expand Down

0 comments on commit 04590b6

Please sign in to comment.