FIX more stuff
This commit is contained in:
parent
06be547a0b
commit
6d7f92dbbe
|
@ -3681,7 +3681,7 @@ FUTURE-LIMIT in a list."
|
|||
(if ids (cons (org-x-dag-build-parent-link-drawer ids) children) children)))
|
||||
|
||||
(defun org-x-dag-headline-get-parent-links (headline)
|
||||
(->> headline
|
||||
(-some->> headline
|
||||
(org-ml-headline-get-contents (org-x-logbook-config))
|
||||
(org-x-dag-section-get-parent-links)))
|
||||
|
||||
|
@ -3868,7 +3868,7 @@ FUTURE-LIMIT in a list."
|
|||
(org-x-dag-build-planning-id-headline title 4 paragraph ids))
|
||||
|
||||
(defun org-x-dag-build-dlp-headline (title paragraph ids datetime)
|
||||
(let ((pl (org-ml-build-planning! :scheduled datetime)))
|
||||
(let ((pl (list :scheduled datetime)))
|
||||
(->> (org-x-dag-build-planning-id-headline title 4 paragraph ids)
|
||||
(org-ml-headline-set-planning pl))))
|
||||
|
||||
|
|
|
@ -1763,11 +1763,14 @@ timestamp in the contents of the headline will be shifted."
|
|||
subtree)
|
||||
(t
|
||||
(org-ml-headline-map-planning*
|
||||
(-some->> it
|
||||
(org-ml-map-property* :scheduled
|
||||
(when it (org-ml-timestamp-shift offset unit it)))
|
||||
(org-ml-map-property* :deadline
|
||||
(when it (org-ml-timestamp-shift offset unit it))))
|
||||
(-let (((&plist :scheduled s :deadline d) it))
|
||||
(when s
|
||||
(->> (org-ml-timelist-shift offset unit s)
|
||||
(plist-put it :scheduled)))
|
||||
(when d
|
||||
(->> (org-ml-timelist-shift offset unit d)
|
||||
(plist-put it :deadline)))
|
||||
it)
|
||||
subtree)))))
|
||||
(shift
|
||||
(offset unit subtree)
|
||||
|
|
Loading…
Reference in New Issue