Преглед на файлове

Fix bug with non-existing timestamp directory.

Patch from Dan Davison.
Carsten Dominik преди 17 години
родител
ревизия
ed98782f9d
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      lisp/org-publish.el

+ 3 - 1
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))