Comments on 2023-01-02 Computing Org mode TODO stats

> (plist-get (cadr (org-element-at-point-no-context)) :todo-keyword))

But why?
There is `org-element-at-point’ that re-uses cache. Also, plist-get relies on internal implementation details. You can simply use `org-element-property’.

– yantar92 2023-01-03 17:14 UTC


Thanks for the input! Well, the docstring for org-element-at-point-no-context said it is faster (and apparently is enough for me). As for org-element-property, I simply forgot about it, thanks!

– mbork 2023-01-03 19:36 UTC