summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2012-10-08 12:26:10 (GMT)
committer Nicolas Goaziou <n.goaziou@gmail.com>2012-10-08 12:28:07 (GMT)
commit0ccf650b4b36a8b2cb758f69c7ead79940d3a94f (patch)
treefe41c985431965d255162502c827b51152c74caa
parent9109dc13ea692e9d89e72bdde4280f6342397079 (diff)
downloadorg-mode-0ccf650b4b36a8b2cb758f69c7ead79940d3a94f.zip
org-mode-0ccf650b4b36a8b2cb758f69c7ead79940d3a94f.tar.gz
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.
-rw-r--r--contrib/lisp/org-e-publish.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/lisp/org-e-publish.el b/contrib/lisp/org-e-publish.el
index efe2073..67623b5 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