(fix)db: insert plain links into db (#1991)

master
Liu Hui 4 years ago committed by GitHub
parent 8c3c216191
commit c3889b3b17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      org-roam-db.el

@ -491,7 +491,8 @@ INFO is the org-element parsed buffer."
(or (assoc link-type org-ref-cite-types)
(member link-type org-ref-cite-types)))
(dolist (key (org-roam-org-ref-path-to-keys path))
(push (vector node-id key link-type) rows)))))
(push (vector node-id key link-type) rows))
(push (vector node-id path link-type) rows))))
(t
(lwarn '(org-roam) :warning
"%s:%s\tInvalid ref %s, skipping..." (buffer-file-name) (point) ref)))))

Loading…
Cancel
Save