(fix)db: refresh CATEGORY before writing to db (#1953)

Closes #1844.
This commit is contained in:
Jethro Kuan
2021-11-09 15:33:52 +08:00
committed by GitHub
parent 01c45f9dca
commit d8c7f7d4e7

View File

@ -569,6 +569,7 @@ in `org-roam-db-sync'."
(emacsql-with-transaction (org-roam-db)
(save-excursion
(org-set-regexps-and-options 'tags-only)
(org-refresh-category-properties)
(org-roam-db-clear-file)
(org-roam-db-insert-file)
(org-roam-db-insert-file-node)