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 | f07ce74d835dfc81e1e529240526829464ad8b21 (patch) | |
| tree | cb6a18d1090fe2f6aeb72b9f7c076c647621f94f /docs/design/agentic-knowledgebase.org | |
| parent | bd7a8c8fe0ea0738a5461887e02eeb4e4050beb6 (diff) | |
| download | dotemacs-f07ce74d835dfc81e1e529240526829464ad8b21.tar.gz dotemacs-f07ce74d835dfc81e1e529240526829464ad8b21.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 'docs/design/agentic-knowledgebase.org')
0 files changed, 0 insertions, 0 deletions
