Fix bug with non-existing timestamp directory.

Patch from Dan Davison.
This commit is contained in:
Carsten Dominik 2008-07-04 22:51:21 -07:00
parent 4636a4d5e4
commit ed98782f9d
1 changed files with 3 additions and 1 deletions

View File

@ -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))