aboutsummaryrefslogtreecommitdiff
path: root/tests/test-org-roam-config-save-daily.el
Commit message (Collapse)AuthorAgeFilesLines
* fix(org-roam): always save the daily after a journal task-copyCraig Jennings14 days1-0/+53
The save lived inside the `unless` branch that only ran when the completed task needed an `org-refile` into a different file. When the task was already in today's daily, the copy left the buffer modified but unsaved. A crash before the next manual save lost it, and shutdown prompted about the unsaved journal buffer. I pulled the save out of the refile branch into a `cj/--org-roam-save-daily` helper that runs on both paths and only writes when the buffer is modified. Extracting it also makes the save logic testable without driving the org-roam capture machinery.