(fix): fix prop extraction failures (#772)

This fixes a bug introduced in #770. Interestingly,
`org-element-property` always returns the prop in allcaps, so a
string-equal would have been sufficient. This commit reverts all usages
of `org-roam--extract-global-props` to use the upcase version of the
properties.
This commit is contained in:
Jethro Kuan
2020-06-07 22:10:47 +08:00
committed by GitHub
parent 9d5a34d0f4
commit 30599cc3e8
2 changed files with 10 additions and 10 deletions

View File

@ -93,7 +93,7 @@ AST is the org-element parse tree."
(org-element-map ast 'keyword
(lambda (kw)
(let ((key (org-element-property :key kw)))
(when (and (string-prefix-p "roam_" key t)
(when (and (string-prefix-p "ROAM_" key t)
(not (member key org-roam-doctor--supported-roam-properties)))
(push
`(,(org-element-property :begin kw)