org-roam / org-roam-bibtex

Org Roam integration with bibliography management software
GNU General Public License v3.0
568 stars 47 forks source link

Support :target keyword #209

Closed cobac closed 2 years ago

cobac commented 2 years ago

org-roam renamed the keyword :if-new to :target, breaking ORB if the later is used to construct capture templates. Although :target is the preferred default, org-roam will support both for some time, and ORB should too.

yuuyins commented 2 years ago

https://github.com/org-roam/org-roam-bibtex/blob/c13a05b2c855ba1516241d8a1de33bf2c689d6e4/org-roam-bibtex.el#L478

(roam-template (or (plist-get plst :if-new) (plist-get plst :target))) seems to do the job

myshevchuk commented 2 years ago

Fixed! Thank you @cobac and @yuuyins and sorry it took so long.