mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(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:
@ -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)
|
||||
|
Reference in New Issue
Block a user