fix: update org-file-tags before org-roam-db ops

addresses #1470
This commit is contained in:
Jethro Kuan
2021-04-19 17:48:32 +08:00
parent 6b98f4b836
commit d465ea0d72

View File

@ -443,6 +443,7 @@ If the file exists, update the cache with information."
(unless (string= content-hash db-hash)
(org-roam-with-file file-path nil
(save-excursion
(org-set-regexps-and-options 'tags-only)
(org-roam-db-clear-file)
(org-roam-db-insert-file)
(org-roam-db-insert-file-node)