(fix)db: Require 'oc to get org-cite functionality. (#1849)

This commit is contained in:
Roshan Shariff
2021-10-01 01:45:02 -06:00
committed by GitHub
parent a101c548c1
commit 3b93c83b23

View File

@ -534,7 +534,7 @@ If the file exists, update the cache with information."
(setq info (org-element-parse-buffer))
(org-roam-db-map-links
(list #'org-roam-db-insert-link))
(when (require 'org-cite nil 'noerror)
(when (require 'oc nil 'noerror)
(org-roam-db-map-citations
info
(list #'org-roam-db-insert-citation)))))))))