aboutsummaryrefslogtreecommitdiff
path: root/modules/org-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-22 19:43:00 -0500
committerCraig Jennings <c@cjennings.net>2026-05-22 19:43:00 -0500
commitb8475c7f08655815bd1a7fc7b11b73e84f9ff557 (patch)
tree7460b7031f4d2af200a423a9b9f4fc17e0bacf06 /modules/org-config.el
parentaf3de479c5bd04557f02ad6c74d6a542c979033b (diff)
downloaddotemacs-b8475c7f08655815bd1a7fc7b11b73e84f9ff557.tar.gz
dotemacs-b8475c7f08655815bd1a7fc7b11b73e84f9ff557.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