aboutsummaryrefslogtreecommitdiff
path: root/tests/test-custom-buffer-file-delete-buffer-and-file.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-15 23:07:37 -0500
committerCraig Jennings <c@cjennings.net>2026-06-15 23:08:00 -0500
commitb53375c12c46f7020feae0c6274770ef2e31ebbb (patch)
treef011843b136ba240635dfd31e666734536203984 /tests/test-custom-buffer-file-delete-buffer-and-file.el
parent5b83e9a224115ecc86332db8c14104e7b0864bef (diff)
downloaddotemacs-b53375c12c46f7020feae0c6274770ef2e31ebbb.tar.gz
dotemacs-b53375c12c46f7020feae0c6274770ef2e31ebbb.zip
fix(dirvish): mark-all-visible no longer skips every other file
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.
Diffstat (limited to 'tests/test-custom-buffer-file-delete-buffer-and-file.el')
0 files changed, 0 insertions, 0 deletions