FIX use file nodes when none available from parents

This commit is contained in:
Nathan Dwarshuis 2022-04-20 20:05:24 -04:00
parent bb9fbf2ed2
commit 60518df318
1 changed files with 2 additions and 1 deletions

View File

@ -520,7 +520,8 @@ used for optimization."
this-links (or (org-x-dag-get-parent-links (nth 3 this-pblock)
next-pos)
(unless node-stack
(nth 2 (car bare-stack)))))
(or (nth 2 (car bare-stack))
this-file-links))))
(when this-tags
(setq this-tags (split-string this-tags ":")))
(when (and (not node-stack) bare-stack)