Function: image-dired-display-this
image-dired-display-this is an interactive and byte-compiled function
defined in image-dired.el.gz.
Signature
(image-dired-display-this &optional ARG)
Documentation
Display current thumbnail's original image in display buffer.
See documentation for image-dired-display-image for more information.
With prefix argument ARG, display image in its original size.
Probably introduced at or before Emacs version 29.1.
Key Bindings
Aliases
image-dired-display-thumbnail-original-image (obsolete since 29.1)
Source Code
;; Defined in /usr/src/emacs/lisp/image/image-dired.el.gz
(defun image-dired-display-this (&optional arg)
"Display current thumbnail's original image in display buffer.
See documentation for `image-dired-display-image' for more information.
With prefix argument ARG, display image in its original size."
(interactive "P" image-dired-thumbnail-mode)
(unless (string-equal major-mode "image-dired-thumbnail-mode")
(user-error "Not in `image-dired-thumbnail-mode'"))
(let ((file (image-dired-original-file-name)))
(cond ((not (image-dired-image-at-point-p))
(message "No thumbnail at point"))
((not file)
(message "No original file name found"))
(t
(image-dired-display-image file arg)))))