diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-22 19:43:00 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-22 19:43:00 -0500 |
| commit | 19438e0c502ce6d73cd844b4ca8d4873d0cd604d (patch) | |
| tree | fc8f15d7c2df0fcafa9fea68db7309c5a73029b8 /modules/diff-config.el | |
| parent | a172e634eb96949c302938f6344b0b70502c01b9 (diff) | |
| download | dotemacs-19438e0c502ce6d73cd844b4ca8d4873d0cd604d.tar.gz dotemacs-19438e0c502ce6d73cd844b4ca8d4873d0cd604d.zip | |
fix(org-roam): always save the daily after a journal task-copy
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.
Diffstat (limited to 'modules/diff-config.el')
0 files changed, 0 insertions, 0 deletions
