Fix headline display in timeline tools
Why did I do this that complicated to begin with?
This commit is contained in:
parent
3b8fa72a5a
commit
2144c7e110
@ -161,10 +161,7 @@ Return whatever is found first."
|
|||||||
|
|
||||||
(defun timeline-tools-entry-headline (entry)
|
(defun timeline-tools-entry-headline (entry)
|
||||||
"Return the headline associated with ENTRY."
|
"Return the headline associated with ENTRY."
|
||||||
(let* ((marker (timeline-tools-entry-marker entry)))
|
(org-entry-get (timeline-tools-entry-marker entry) "ITEM"))
|
||||||
(plist-get (cadr (org-with-point-at marker
|
|
||||||
(org-element-headline-parser (point-max))))
|
|
||||||
:raw-value)))
|
|
||||||
|
|
||||||
|
|
||||||
;; Utilities
|
;; Utilities
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user