Skip to content

Commit

Permalink
Fix: (org-ql-view--format-element) Check habit in source buffer
Browse files Browse the repository at this point in the history
See #364.
alphapapa committed Sep 27, 2023
1 parent 0e702ec commit 9e72bf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion org-ql-view.el
Original file line number Diff line number Diff line change
@@ -892,7 +892,8 @@ return an empty string."
(char-to-string)
(format "[#%s]")
(org-ql-view--add-priority-face)))
(habit-property (org-with-point-at (org-element-property :begin element)
(habit-property (org-with-point-at (or (org-element-property :org-hd-marker element)
(org-element-property :org-marker element))
(when (org-is-habit-p)
(org-habit-parse-todo))))
(due-string (pcase (org-element-property :relative-due-date element)

0 comments on commit 9e72bf6

Please sign in to comment.