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:
Daniel - 2020-10-12 16:28:43 +02:00
parent 6fe33daf17
commit 4ecafaa411
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 1 additions and 3 deletions

View File

@ -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