From 19c5e9b0f32c22c73f5f83c20e971a709ac0cf8c Mon Sep 17 00:00:00 2001 From: Natnael Kahssay <39103342+natask@users.noreply.github.com> Date: Tue, 29 Sep 2020 20:57:07 -0700 Subject: [PATCH] (fix): pass file name to extract-headlines. (#1153) Another location where filename needs to be passed down as per #1150. --- org-roam-db.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-roam-db.el b/org-roam-db.el index 1f04814..e82ea41 100644 --- a/org-roam-db.el +++ b/org-roam-db.el @@ -447,7 +447,7 @@ connections, nil is returned." (org-roam-db-query [:delete :from headlines :where (= file $s1)] file) - (when-let ((headlines (org-roam--extract-headlines))) + (when-let ((headlines (org-roam--extract-headlines file))) (org-roam-db--insert-headlines headlines)))) (defun org-roam-db--update-file (&optional file-path)