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.
This commit is contained in:
Nicolas Goaziou 2012-10-08 14:26:10 +02:00
parent 9109dc13ea
commit 0ccf650b4b
1 changed files with 5 additions and 5 deletions

View File

@ -127,10 +127,10 @@ set of output formats.
`:publishing-function' `:publishing-function'
Function to publish file. The default is Function to publish file. Each back-end may define its
`org-e-publish-org-to-ascii', but other values are possible. own (i.e. `org-e-latex-publish-to-pdf',
May also be a list of functions, in which case each function `org-e-html-publish-to-html'). May be a list of functions,
in the list is invoked in turn. in which case each function in the list is invoked in turn.
Another property allows you to insert code that prepares Another property allows you to insert code that prepares
a project for publishing. For example, you could call GNU Make 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)) (ftname (expand-file-name filename))
(publishing-function (publishing-function
(or (plist-get project-plist :publishing-function) (or (plist-get project-plist :publishing-function)
'org-e-publish-org-to-ascii)) (error "No publishing function chosen")))
(base-dir (base-dir
(file-name-as-directory (file-name-as-directory
(expand-file-name (expand-file-name