This commit is contained in:
Jethro Kuan
2021-03-06 18:19:50 +08:00
parent be828e2c1d
commit d1dd75e3b2

View File

@ -384,7 +384,7 @@ If UPDATE-P is non-nil, first remove the file in the database."
source) source)
(save-excursion (save-excursion
(while (and (not (setq source (org-id-get))) (while (and (not (setq source (org-id-get)))
(not (= (point) (point-min)))) (not (bobp)))
(org-up-heading-or-point-min))) (org-up-heading-or-point-min)))
(when source (when source
(org-roam-db-query (org-roam-db-query