Function: image-dired-show-all-from-dir
image-dired-show-all-from-dir is an autoloaded, interactive and
byte-compiled function defined in image-dired.el.gz.
Signature
(image-dired-show-all-from-dir DIR)
Documentation
Make a preview buffer for all images in DIR and display it.
If the number of files in DIR matching image-file-name-regexp
exceeds image-dired-show-all-from-dir-max-files, a warning will be
displayed.
Key Bindings
Aliases
image-dired
tumme (obsolete since 24.4)
Source Code
;; Defined in /usr/src/emacs/lisp/image-dired.el.gz
;;;###autoload
(defun image-dired-show-all-from-dir (dir)
"Make a preview buffer for all images in DIR and display it.
If the number of files in DIR matching `image-file-name-regexp'
exceeds `image-dired-show-all-from-dir-max-files', a warning will be
displayed."
(interactive "DImage Dired: ")
(dired dir)
(dired-mark-files-regexp (image-file-name-regexp))
(let ((files (dired-get-marked-files)))
(if (or (<= (length files) image-dired-show-all-from-dir-max-files)
(and (> (length files) image-dired-show-all-from-dir-max-files)
(y-or-n-p
(format
"Directory contains more than %d image files. Proceed? "
image-dired-show-all-from-dir-max-files))))
(progn
(image-dired-display-thumbs)
(pop-to-buffer image-dired-thumbnail-buffer))
(message "Canceled."))))