aboutsummaryrefslogtreecommitdiff
path: root/modules/host-environment.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 07:18:11 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 07:18:11 -0500
commit266a660cb8db190e0418c5f7062af95e1a31270f (patch)
treea85005ade5f7dc5cb2f288ef003e16d878f78106 /modules/host-environment.el
parent0842e18735bb1c47f5d8c20504dd54b895d83f24 (diff)
downloaddotemacs-266a660cb8db190e0418c5f7062af95e1a31270f.tar.gz
dotemacs-266a660cb8db190e0418c5f7062af95e1a31270f.zip
fix(org-roam-config): save journal buffer after copying DONE task
`cj/org-roam-copy-todo-to-today' tried to save the target journal buffer via `org-after-refile-insert-hook' bound to `#'save-buffer', but that value is the wrong shape (single function instead of a hook list), and the only other save mechanism -- the `:after' advice on `org-refile' that calls `org-save-all-org-buffers' -- doesn't attach until `:defer .5' elapses, so the very first DONE transition after startup leaves the journal unsaved. Drop the broken hook binding and save the target buffer explicitly after the refile call. New ERT test asserts `buffer-modified-p' on the journal buffer is nil after the function returns.
Diffstat (limited to 'modules/host-environment.el')
0 files changed, 0 insertions, 0 deletions