Function: image-dired-line-up-dynamic
image-dired-line-up-dynamic is an interactive and byte-compiled
function defined in image-dired.el.gz.
Signature
(image-dired-line-up-dynamic)
Documentation
Line up thumbnails images dynamically.
Calculate how many thumbnails fit.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/image/image-dired.el.gz
(defun image-dired-line-up-dynamic ()
"Line up thumbnails images dynamically.
Calculate how many thumbnails fit."
(interactive nil image-dired-thumbnail-mode)
(let* ((char-width (frame-char-width))
(width (window-body-width (image-dired-thumbnail-window) t))
(image-dired-thumbs-per-row
(/ width
(+ (* 2 image-dired-thumb-relief)
(* 2 image-dired-thumb-margin)
(image-dired--thumb-size)
char-width))))
(image-dired-line-up)))