Allow to refile under periodic tasks
Sometimes an instance of a periodic tasks requires individual subtasks. In this case, refiling there is very helpful. In other cases, the extra entries should not be disturbing too much, I think … I hope.
This commit is contained in:
parent
6fe33daf17
commit
4ecafaa411
|
@ -255,9 +255,7 @@ tag PERIODIC."
|
||||||
(and
|
(and
|
||||||
;; Exclude DONE state tasks from refile targets (from bh)
|
;; Exclude DONE state tasks from refile targets (from bh)
|
||||||
(not (member (nth 2 (org-heading-components))
|
(not (member (nth 2 (org-heading-components))
|
||||||
org-done-keywords))
|
org-done-keywords))))
|
||||||
;; Don't refile to elements of periodic tasks
|
|
||||||
(not (member "PERIODIC" (org-get-tags)))))
|
|
||||||
|
|
||||||
|
|
||||||
;;; Reset checklists
|
;;; Reset checklists
|
||||||
|
|
Loading…
Reference in New Issue