aboutsummaryrefslogtreecommitdiff
path: root/tests/test-dirvish-config-mark-all-visible.el
Commit message (Collapse)AuthorAgeFilesLines
* fix(dirvish): mark-all-visible no longer skips every other fileCraig Jennings11 days1-0/+68
dired-mark advances point itself, so the loop's extra forward-line skipped every other file (and could mark a directory). Use dired-get-filename + file-directory-p with an if/else: a marked file line advances once via dired-mark, non-file/directory lines advance manually. Replaces the regex line predicate (retired with its mock test) with a real-Dired marked-count test.