mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(fix): pass file name to extract-headlines. (#1153)
Another location where filename needs to be passed down as per #1150.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user