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.
  • Loading branch information
alphapapa committed Sep 12, 2023
1 parent 1bd7bb4 commit d09608a
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
Expand Up @@ -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)
Expand Down

0 comments on commit d09608a

Please sign in to comment.