(docs): fix docstring for org-roam--get-title-path-completions (#1344)

This commit is contained in:
Jethro Kuan
2020-12-15 20:26:43 +08:00
committed by GitHub
parent 7ad32e8395
commit 9c23218553

View File

@ -845,8 +845,8 @@ file."
(defun org-roam--get-title-path-completions () (defun org-roam--get-title-path-completions ()
"Return an alist for completion. "Return an alist for completion.
The car is the displayed title for completion, and the cdr is the The car is the displayed title for completion, and the cdr is a
to the file." plist containing the path and title for the file."
(let* ((rows (org-roam-db-query [:select [files:file titles:title tags:tags files:meta] :from titles (let* ((rows (org-roam-db-query [:select [files:file titles:title tags:tags files:meta] :from titles
:left :join tags :left :join tags
:on (= titles:file tags:file) :on (= titles:file tags:file)