1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-22 07:09:47 +00:00

Make timestamp directory even if the parent does not exist

* lisp/org-publish.el (org-publish-initialize-cache): Make
timestamp directory, the entire path to it.
This commit is contained in:
Carsten Dominik 2010-07-01 11:31:14 +02:00
parent a6d8eb4ea9
commit 6c381070f9

View File

@ -931,7 +931,7 @@ and return it."
" in `org-publish-initialize-cache'"))
(unless (file-exists-p org-publish-timestamp-directory)
(make-directory org-publish-timestamp-directory))
(make-directory org-publish-timestamp-directory t))
(if (not (file-directory-p org-publish-timestamp-directory))
(error "Org publish timestamp: %s is not a directory"
org-publish-timestamp-directory))