]> git.eshelyaron.com Git - emacs.git/commit
Support dired-movement-style in dired-next-dirline and dired-prev-dirline
authorJuri Linkov <juri@linkov.net>
Thu, 23 Nov 2023 18:12:40 +0000 (20:12 +0200)
committerJuri Linkov <juri@linkov.net>
Thu, 23 Nov 2023 18:12:40 +0000 (20:12 +0200)
commit29d42d9158ae836fc30d72dbdf4a8236a01de87f
treec9ca67980367ac665cdd702025c747886fba3836
parent51222153df13c44f2dc74e17da21d95a29f91776
Support dired-movement-style in dired-next-dirline and dired-prev-dirline

* lisp/dired.el (dired-movement-style): Mention dired-next-dirline
and dired-prev-dirline in the docstring (bug#67303).
(dired-next-line): Refactor most code to dired--move-to-next-line.
(dired--move-to-next-line): New function with code from dired-next-line.
(dired--trivial-next-dirline): Rename from dired-next-dirline.
(dired-next-dirline): New function body that uses dired-movement-style,
dired--move-to-next-line and dired--trivial-next-dirline.
(dired-prev-dirline): Mention dired-movement-style in the docstring.
etc/NEWS
lisp/dired.el