summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2010-07-01 11:31:14 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2010-07-01 11:31:14 +0200
commit6c381070f952729e1bde095d62530eaceec55894 (patch)
tree6e112debe3b8ab89ce312f0c25663f9b97665f98
parenta6d8eb4ea9291a61021c8accfac61cf4778b79a5 (diff)
downloadorg-mode-6c381070f952729e1bde095d62530eaceec55894.tar.gz
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.
-rw-r--r--lisp/org-publish.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-publish.el b/lisp/org-publish.el
index 3f24863..b387e7b 100644
--- a/lisp/org-publish.el
+++ b/lisp/org-publish.el
@@ -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))