diff --git a/local/lib/org-x/org-x.el b/local/lib/org-x/org-x.el index 57ba65f..f75da99 100644 --- a/local/lib/org-x/org-x.el +++ b/local/lib/org-x/org-x.el @@ -1564,7 +1564,7 @@ ARG and INTERACTIVE are passed to `org-store-link'." (org-ml-timestamp-get-start-time) (org-ml-time-to-unixtime) (< (float-time))))) - (->> (org-x-parse-file-headlines org-x-daily-plan-file 'all) + (->> (org-x-parse-file-headlines (org-x-get-daily-plan-file) 'all) (--filter (null (org-ml-headline-get-subheadlines it))) (-filter #'is-future) (-map #'org-ml-remove-parents)))) @@ -1594,7 +1594,7 @@ ARG and INTERACTIVE are passed to `org-store-link'." ;; ASSUME there will be one paragraph at the end holding ;; the timestamp (para (car (org-ml-match '(:last section paragraph) target)))) - (org-x-with-file org-x-daily-plan-file + (org-x-with-file (org-x-get-daily-plan-file) (org-ml~update* nil (org-ml-map-children* (-snoc it link) it) para))