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 | 8ec3989d2f4796e72f7d1c635a7d5457d321da81 (patch) | |
| tree | 893e5d51e4d742c6afee95540d0ae2d6d99af2a6 /modules/org-config.el | |
| parent | 7278111f29d961c3c1378a7159240cb1704e1543 (diff) | |
| download | dotemacs-8ec3989d2f4796e72f7d1c635a7d5457d321da81.tar.gz dotemacs-8ec3989d2f4796e72f7d1c635a7d5457d321da81.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/org-config.el')
0 files changed, 0 insertions, 0 deletions
