]> git.eshelyaron.com Git - emacs.git/commit
image-dired: Fix performance bug with mouse click
authorStefan Kangas <stefankangas@gmail.com>
Thu, 15 Sep 2022 20:19:00 +0000 (22:19 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Thu, 15 Sep 2022 20:19:00 +0000 (22:19 +0200)
commitbb76ab015a247d2547a9e6778e50ffb38988f47e
tree5c39449011f305426d34d507a43ce9e5aa517014
parentc6fc00f5d75a28fd4e99050ccc1af9ad82f66b2b
image-dired: Fix performance bug with mouse click

* lisp/image/image-dired.el
(image-dired--on-file-in-dired-buffer): Move call to
'image-dired-thumb-update-marks' from here...
(image-dired--do-mark-command): ...to here.  Add new optional
argument UPDATE to control calling it.  Update callers.
(image-dired-mouse-toggle-mark-1): Fix performance bug by setting
above new optional argument to nil.  (Bug#53599)
lisp/image/image-dired.el