emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Creation of timestamp directory when publishing [6.35i]
@ 2010-06-20 20:45 Jan Moringen
  0 siblings, 0 replies; only message in thread
From: Jan Moringen @ 2010-06-20 20:45 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 225 bytes --]

Hi,

I encountered a problem when publishing an org project after customizing
`org-publish-timestamp-directory' such that the specified directory and
some of its parents didn't exist.

A patch is attached.

Kind regards,
Jan

[-- Attachment #2: org-publish-make-timestamp-dir.diff --]
[-- Type: text/x-patch, Size: 456 bytes --]

--- lisp/org/org-publish.el.orig	2010-07-18 03:43:12.942798153 +0200
+++ lisp/org/org-publish.el	2010-07-18 03:40:11.842796261 +0200
@@ -236,7 +236,7 @@
 		   (file-newer-than-file-p
 		    filename (org-publish-timestamp-filename
 			      filename pub-dir pub-func)))
-	       (make-directory org-publish-timestamp-directory)
+	       (make-directory org-publish-timestamp-directory t)
 	       t)
 	   ;; don't use timestamps, always return t
 	   t)))

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-20  1:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-20 20:45 Bug: Creation of timestamp directory when publishing [6.35i] Jan Moringen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).