From: Mark Oteiza Date: Thu, 15 Dec 2016 01:36:06 +0000 (-0500) Subject: * lisp/image-dired.el (image-dired-create-thumb): Create parent directories. X-Git-Tag: emacs-26.0.90~1081 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d0388bd12d68d0f40f655474c970d572a133f5e7;p=emacs.git * lisp/image-dired.el (image-dired-create-thumb): Create parent directories. --- diff --git a/lisp/image-dired.el b/lisp/image-dired.el index 61cf89c935d..a23dbfead7e 100644 --- a/lisp/image-dired.el +++ b/lisp/image-dired.el @@ -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