Function: image-dired-refresh-thumb

image-dired-refresh-thumb is an interactive and byte-compiled function defined in image-dired-external.el.gz.

Signature

(image-dired-refresh-thumb)

Documentation

Force creation of new image for current thumbnail.

Probably introduced at or before Emacs version 29.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/image/image-dired-external.el.gz
(defun image-dired-refresh-thumb ()
  "Force creation of new image for current thumbnail."
  (interactive nil image-dired-thumbnail-mode)
  (let* ((file (image-dired-original-file-name))
         (thumb (expand-file-name (image-dired-thumb-name file))))
    (clear-image-cache (expand-file-name thumb))
    (image-dired-create-thumb file thumb)))