FIX use filetags when no non-node parents available
This commit is contained in:
parent
39b4d1e351
commit
b584f6ed9c
|
@ -524,9 +524,8 @@ used for optimization."
|
||||||
this-file-links))))
|
this-file-links))))
|
||||||
(when this-tags
|
(when this-tags
|
||||||
(setq this-tags (split-string this-tags ":")))
|
(setq this-tags (split-string this-tags ":")))
|
||||||
(when (and (not node-stack) bare-stack)
|
(unless node-stack
|
||||||
(setq this-tags (->> (car bare-stack)
|
(setq this-tags (->> (or (nth 1 (car bare-stack)) org-file-tags)
|
||||||
(nth 1)
|
|
||||||
(append this-tags))))
|
(append this-tags))))
|
||||||
(->> (list :point this-point
|
(->> (list :point this-point
|
||||||
:buffer-parent this-buffer-parent
|
:buffer-parent this-buffer-parent
|
||||||
|
|
Loading…
Reference in New Issue