From 6fea9ebb17028fe4123a1e856967459abbf07340 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Tue, 3 May 2022 19:21:00 -0400 Subject: [PATCH] ADD test for project effort --- local/lib/org-x/org-x-dag.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/local/lib/org-x/org-x-dag.el b/local/lib/org-x/org-x-dag.el index d089c23..2c1cf34 100644 --- a/local/lib/org-x/org-x-dag.el +++ b/local/lib/org-x/org-x-dag.el @@ -739,6 +739,8 @@ used for optimization." (new-proj :proj-held)) ((and child-bss sched) (either :left "Projects cannot be scheduled")) + ((and child-bss (plist-get node-data :effort)) + (either :left "Projects cannot have effort")) ((equal it-todo org-x-kw-todo) (org-x-dag-bs-action-rankfold-children child-bss task-default (lambda (acc next)