From 0ccf650b4b36a8b2cb758f69c7ead79940d3a94f Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 8 Oct 2012 14:26:10 +0200 Subject: [PATCH] org-e-publish: Remove default value for publishing function * contrib/lisp/org-e-publish.el (org-e-publish-file): Remove default value for publishing function. --- contrib/lisp/org-e-publish.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/contrib/lisp/org-e-publish.el b/contrib/lisp/org-e-publish.el index efe207325..67623b532 100644 --- a/contrib/lisp/org-e-publish.el +++ b/contrib/lisp/org-e-publish.el @@ -127,10 +127,10 @@ set of output formats. `:publishing-function' - Function to publish file. The default is - `org-e-publish-org-to-ascii', but other values are possible. - May also be a list of functions, in which case each function - in the list is invoked in turn. + Function to publish file. Each back-end may define its + own (i.e. `org-e-latex-publish-to-pdf', + `org-e-html-publish-to-html'). May be a list of functions, + in which case each function in the list is invoked in turn. Another property allows you to insert code that prepares a project for publishing. For example, you could call GNU Make @@ -611,7 +611,7 @@ See `org-e-publish-projects'." (ftname (expand-file-name filename)) (publishing-function (or (plist-get project-plist :publishing-function) - 'org-e-publish-org-to-ascii)) + (error "No publishing function chosen"))) (base-dir (file-name-as-directory (expand-file-name