(internal): speed up extraction of global props, headlines, and title (#1061)

Avoids usage of org-element-parse-buffer, preferring simple regex searches.
This commit is contained in:
Kisaragi Hiu
2020-08-24 23:14:15 +09:00
committed by GitHub
parent f6bf9d9401
commit 82ac6b6b9c
3 changed files with 34 additions and 26 deletions

View File

@ -255,7 +255,7 @@
(it "extracts headlines"
(expect (test #'org-roam--extract-headlines
"headlines/headline.org")
:to-equal
:to-have-same-items-as
`(["e84d0630-efad-4017-9059-5ef917908823" ,(test-org-roam--abs-path "headlines/headline.org")]
["801b58eb-97e2-435f-a33e-ff59a2f0c213" ,(test-org-roam--abs-path "headlines/headline.org")])))))