]> git.eshelyaron.com Git - emacs.git/commit
image-dired: Improve mouse behaviour
authorStefan Kangas <stefan@marxist.se>
Wed, 27 Oct 2021 02:34:25 +0000 (04:34 +0200)
committerStefan Kangas <stefan@marxist.se>
Wed, 27 Oct 2021 02:34:25 +0000 (04:34 +0200)
commit236457e05243f7d9acdbd0996076507c9134ce6d
treeffb531464de71d79bcf275b76672614ef9567283
parent16bd8dce28772e8f952620b152bab7b2cbbfcb29
image-dired: Improve mouse behaviour

* lisp/image-dired.el (image-dired-thumbnail-mode-map): Improve mouse
behaviour: ignore dragging, as it currently doesn't do anything
useful, and make all clicks just select the thumbnail.
(image-dired-mouse-display-image)
(image-dired-mouse-select-thumbnail): Move point to closest image
after clicking in buffer.
lisp/image-dired.el