aboutsummaryrefslogtreecommitdiff
path: root/tests/test-org-roam-config-copy-and-move.el
Commit message (Collapse)AuthorAgeFilesLines
* fix(org-roam-config): save journal buffer after copying DONE taskCraig Jennings2026-05-141-0/+28
| | | | | | | | | | | | | | `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.
* test(org-roam-config): cover copy-todo-to-today and move-org-branch-to-roam ↵Craig Jennings2026-05-141-0/+129
bodies