aboutsummaryrefslogtreecommitdiff
path: root/docs
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
commitf67b6917c3356a12ca191393c7da038bb1586d76 (patch)
tree6f6ef3f701826fe92150af25b1531c94d4fadf80 /docs
parent401e06ddb4b70e066667a66d49d9c67eba578269 (diff)
downloaddotemacs-f67b6917c3356a12ca191393c7da038bb1586d76.tar.gz
dotemacs-f67b6917c3356a12ca191393c7da038bb1586d76.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 'docs')
0 files changed, 0 insertions, 0 deletions