aboutsummaryrefslogtreecommitdiff
path: root/tests/test-jumper--location-candidates.el
Commit message (Collapse)AuthorAgeFilesLines
* refactor(jumper): extract marker-traversal and location-candidates helpersCraig Jennings3 days1-0/+52
jumper--location-exists-p and jumper--format-location both opened a marker with the same save-current-buffer/set-buffer/save-excursion/goto-char dance; jumper-jump-to-location and jumper-remove-location shared a verbatim candidate-list cl-loop. Extract jumper--with-marker-at (index fn) and jumper--location-candidates; the four callers delegate. Adds direct coverage of the candidate list.