Fix: (org-ql-view--format-element) Check habit in source buffer
See #364.
This commit is contained in:
parent
0e702ecb48
commit
9e72bf6947
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue