Fix headline display in timeline tools

Why did I do this that complicated to begin with?
This commit is contained in:
Daniel Borchmann 2024-06-11 18:12:51 +02:00
parent 3b8fa72a5a
commit 2144c7e110
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -161,10 +161,7 @@ Return whatever is found first."
(defun timeline-tools-entry-headline (entry)
"Return the headline associated with ENTRY."
(let* ((marker (timeline-tools-entry-marker entry)))
(plist-get (cadr (org-with-point-at marker
(org-element-headline-parser (point-max))))
:raw-value)))
(org-entry-get (timeline-tools-entry-marker entry) "ITEM"))
;; Utilities