From 211e2dc3f3e6f7667fcd8a2d791dbefc3b595127 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 6 Oct 2024 09:11:22 -0400 Subject: [PATCH] FIX drawer nil error --- local/lib/org-x/org-x-dag.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/lib/org-x/org-x-dag.el b/local/lib/org-x/org-x-dag.el index 0fec09b..6fccf4d 100644 --- a/local/lib/org-x/org-x-dag.el +++ b/local/lib/org-x/org-x-dag.el @@ -3669,7 +3669,7 @@ FUTURE-LIMIT in a list." ;; headline parent links (defun org-x-dag-section-get-parent-links (children) - (->> (--find (org-x--is-drawer-with-name org-x-drwr-parent-links it) children) + (-some->> (--find (org-x--is-drawer-with-name org-x-drwr-parent-links it) children) (org-x-dag-drawer-get-parent-links))) (defun org-x-dag-section-set-parent-links (ids children)