diff --git a/site-lisp/timeline-tools.el b/site-lisp/timeline-tools.el index 371713e..3227032 100644 --- a/site-lisp/timeline-tools.el +++ b/site-lisp/timeline-tools.el @@ -109,8 +109,9 @@ Return whatever is found first." (defun timeline-tools-entry-headline (entry) "Return the headline associated with ENTRY." (let* ((marker (timeline-tools-entry-marker entry))) - (org-with-point-at marker - (org-element-headline-parser (point-max))))) + (plist-get (cadr (org-with-point-at marker + (org-element-headline-parser (point-max)))) + :raw-value))) ;; Utilities