aboutsummaryrefslogtreecommitdiff
path: root/tests/test-org-refile-config--advice-helpers.el
Commit message (Collapse)AuthorAgeFilesLines
* refactor(org-refile): name the two refile advices so they can be removedCraig Jennings2 days1-0/+87
- Both were anonymous lambdas advising org-refile and org-refile-get-targets. - An anonymous advice can't be advice-removed by reference. - So deleting one from source left a live daemon still running it. - Extracted both to named defuns and installed them remove-then-add. - Now each reloads to a single copy and is removable by reference. - Added unit tests for the target-visiting logic, which had no coverage.