(internal): Make org-roam-db--get non-interactive (#758)

This commit is contained in:
Jethro Kuan
2020-06-04 22:07:09 +08:00
committed by GitHub
parent 0cd4bc05c5
commit c46d153fd3

View File

@@ -66,8 +66,7 @@ when used with multiple Org-roam instances."
;;;; Core Functions
(defun org-roam-db--get ()
"Return the sqlite db file."
(interactive "P")
(or org-roam-db-location
(or org-roam-db-location
(expand-file-name "org-roam.db" org-roam-directory)))
(defun org-roam-db--get-connection ()