From ed98782f9db333e79cfca3648e38338be64b9a12 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Fri, 4 Jul 2008 22:51:21 -0700 Subject: [PATCH] Fix bug with non-existing timestamp directory. Patch from Dan Davison. --- lisp/org-publish.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/org-publish.el b/lisp/org-publish.el index bde20c263..fc5590933 100644 --- a/lisp/org-publish.el +++ b/lisp/org-publish.el @@ -312,7 +312,9 @@ If functions in this hook modify the buffer, it will be saved." org-publish-timestamp-directory) ;; there is a timestamp, check if FILENAME is newer (file-newer-than-file-p - filename (org-publish-timestamp-filename filename)))) + filename (org-publish-timestamp-filename filename))) + (make-directory org-publish-timestamp-directory) + t) ;; don't use timestamps, always return t t))