Function: image-dired-dir
image-dired-dir is a byte-compiled function defined in
image-dired.el.gz.
Signature
(image-dired-dir)
Documentation
Return the current thumbnails directory (from variable image-dired-dir(var)/image-dired-dir(fun)).
Create the thumbnails directory if it does not exist.
Source Code
;; Defined in /usr/src/emacs/lisp/image-dired.el.gz
(defun image-dired-dir ()
"Return the current thumbnails directory (from variable `image-dired-dir').
Create the thumbnails directory if it does not exist."
(let ((image-dired-dir (file-name-as-directory
(expand-file-name image-dired-dir))))
(unless (file-directory-p image-dired-dir)
(with-file-modes #o700
(make-directory image-dired-dir t))
(message "Creating thumbnails directory"))
image-dired-dir))