From ffe50d41d98cf05622288b33cd014be18319dce0 Mon Sep 17 00:00:00 2001 From: Morgan Smith Date: Thu, 8 Sep 2022 02:12:44 +0200 Subject: [PATCH] image-dired: Fix moving forward when marking files * 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el index 923efa8145e..e799f2e748b 100644 --- a/lisp/image/image-dired.el +++ b/lisp/image/image-dired.el @@ -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." -- 2.39.2