Commit d0388bd1 authored by Mark Oteiza's avatar Mark Oteiza
Browse files

* lisp/image-dired.el (image-dired-create-thumb): Create parent directories.

parent 0c77bcb3
......@@ -648,7 +648,7 @@ according to the Thumbnail Managing Standard."
(when (not (file-exists-p
(setq thumbnail-dir (file-name-directory thumbnail-file))))
(message "Creating thumbnail directory.")
(make-directory thumbnail-dir))
(make-directory thumbnail-dir t))
(call-process shell-file-name nil nil nil shell-command-switch command)))
;;;###autoload
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment