]> git.eshelyaron.com Git - emacs.git/commitdiff
image-dired: Fix moving forward when marking files
authorMorgan Smith <Morgan.J.Smith@outlook.com>
Thu, 8 Sep 2022 00:12:44 +0000 (02:12 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Thu, 8 Sep 2022 00:15:22 +0000 (02:15 +0200)
* lisp/image/image-dired.el (image-dired--do-mark-command): Make
movement consistent regardless of the value of
image-dired-marking-shows-next.  (Bug#57651)

lisp/image/image-dired.el

index 923efa8145e51907f4c0ae6915275c25f7a1a04f..e799f2e748b6a4b4fb050b3dd2c0f1f1d63053e9 100644 (file)
@@ -767,7 +767,7 @@ according to `image-dired-marking-shows-next'."
      ,(when maybe-next
         '(if image-dired-marking-shows-next
              (image-dired-display-next-thumbnail-original)
-           (image-dired-next-line)))))
+           (image-dired-forward-image)))))
 
 (defun image-dired-mark-thumb-original-file ()
   "Mark original image file in associated Dired buffer."