]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix OBOE in image-dired--with-marked
authorStefan Kangas <stefankangas@gmail.com>
Tue, 27 Sep 2022 00:14:54 +0000 (02:14 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Tue, 27 Sep 2022 00:14:54 +0000 (02:14 +0200)
* lisp/image/image-dired.el (image-dired--with-marked): Fix off-by-one
error.

lisp/image/image-dired.el

index 528348d8d4dbb735e065c09094033c2f61b309f8..98bb6b3c5a1f4472ccec1e8e3496696796ec52f9 100644 (file)
@@ -469,7 +469,7 @@ thumbnail."
            (when (image-dired-thumb-file-marked-p)
              (setq found t)
              ,@body)
-           (forward-char)))
+           (forward-char 2)))
        (unless found
          ,@body))))