]> git.eshelyaron.com Git - emacs.git/commitdiff
Make image-dired-dired-toggle-marked-thumbs faster
authorStefan Kangas <stefankangas@gmail.com>
Tue, 27 Sep 2022 21:26:07 +0000 (23:26 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Tue, 27 Sep 2022 21:26:07 +0000 (23:26 +0200)
* lisp/image/image-dired-dired.el
(image-dired-dired-toggle-marked-thumbs): Don't show progress, since
it makes things slower.

lisp/image/image-dired-dired.el

index 94367b566e4d9ca6be2fc1b521565c5add7c4e6f..d03c1629da8d7c9a3b672c03d89e2b22977296bf 100644 (file)
@@ -83,8 +83,8 @@ previous -ARG, if ARG<0) files."
                           if (overlay-get ov 'put-image) return ov))
            (overlay-put overlay 'image-file image-file)
            (overlay-put overlay 'thumb-file thumb-file)))))
-   arg             ; Show or hide image on ARG next files.
-   'show-progress) ; Update dired display after each image is updated.
+   ;; Show or hide thumbnail on ARG next files.
+   arg)
   (add-hook 'dired-after-readin-hook
             'image-dired-dired-after-readin-hook nil t))