Recently my org-mode config broke. And i started using
, to get it to work again. But now i have the issue that a function call
(dl/capture-report-date-file) gets evaluated once and curries the time value (which is the time, and should be dynamic) for all future captures. I'd like it to get evaluated each time I capture, and have a different date each time. I am not an elisp dev.
(with-eval-after-load "org" (setq org-capture-templates `(("c" "manual-headline" entry (file ,(dl/capture-report-date-file (concat org-directory "/notes"))) "* SOON %? \n:PROPERTIES:\n:CREATED: %U\n:SOURCE: %a\n:END:\n\n%i\n"))))