]> git.eshelyaron.com Git - emacs.git/commit
New option 'image-dired-thumb-naming' (bug#61394)
authorManuel Giraud <manuel@ledu-giraud.fr>
Sat, 25 Feb 2023 18:27:07 +0000 (19:27 +0100)
committerEli Zaretskii <eliz@gnu.org>
Thu, 27 Jul 2023 14:00:59 +0000 (17:00 +0300)
commit83b6a8a514727ebba0c05e161f90d17270ddeccd
treebbc42f939c8c771fc1be40e5acbd8357be549d14
parent7ea3f39deec3d54914077455e70605a14eb7d200
New option 'image-dired-thumb-naming' (bug#61394)

* lisp/image/image-dired.el (image-dired-thumb-naming): New user
option to control thumbnail name.

* lisp/image/image-dired-util.el (image-dired-thumb-name): Update
to use new user option and compute contents SHA-1 if needed.
(image-dired-contents-sha1): New function to compute the SHA-1 of the
first 4KiB of a file.
etc/NEWS
lisp/image/image-dired-util.el
lisp/image/image-dired.el