Do not include TEMPLATE in inserted checklists
References to item at point contained in templates are usually not meant to be considered manually, but just to automatically insert backreferences.
This commit is contained in:
parent
754e22dc77
commit
0c84493abc
@ -876,8 +876,10 @@ barf otherwise."
|
|||||||
(unless template-pom
|
(unless template-pom
|
||||||
(user-error "Cannot find template via TEMPLATE_ID property or top-most sibling"))
|
(user-error "Cannot find template via TEMPLATE_ID property or top-most sibling"))
|
||||||
|
|
||||||
(insert "\nBacklinks (not DONE, all parents, no archives):\n\n")
|
(insert "\nBacklinks (not DONE, no TEMPLATE, all parents, no archives):\n\n")
|
||||||
(org-dblock-write:db/org-backlinks '(:org-ql-match (not (done))
|
(org-dblock-write:db/org-backlinks '(:org-ql-match (and
|
||||||
|
(not (done))
|
||||||
|
(not (ltags "TEMPLATE")))
|
||||||
:parent-depth nil
|
:parent-depth nil
|
||||||
:archive nil))
|
:archive nil))
|
||||||
(insert "\n\nTemplate:\n")
|
(insert "\n\nTemplate:\n")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user