This small change allows muse-project-publish-this-file to create the
output directory.
Alternatively, this change is in the 'pjones' branch at:
git://pmade.com/muse
Thanks.
--
Peter Jones
http://pmade.com
>From b3fe283a74b422c0e0697de4ed948a33cbff0f15 Mon Sep 17 00:00:00 2001
From: Peter Jones <[EMAIL PROTECTED]>
Date: Wed, 26 Mar 2008 12:50:29 -0600
Subject: [PATCH] Create output directory in muse-project-publish-this-file
Make muse-project-publish-this-file use
muse-project-publish-file-default so that the output directory is
created.
This allows someone to publish using sub-directories without first
having to create all of them.
---
lisp/muse-project.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lisp/muse-project.el b/lisp/muse-project.el
index 5c75a2e..83e5900 100644
--- a/lisp/muse-project.el
+++ b/lisp/muse-project.el
@@ -823,7 +823,7 @@ If FORCE is given, publish the file even if it is up-to-date."
(muse-current-project-global muse-current-project)
(muse-current-output-style (list :base (car style)
:path output-dir)))
- (unless (muse-publish-file buffer-file-name style output-dir force)
+ (unless (muse-project-publish-file-default buffer-file-name style output-dir force)
(message (concat "The published version is up-to-date; use"
" C-u C-c C-t to force an update.")))))))
--
1.5.3.7
_______________________________________________
Muse-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/muse-el-discuss