org-e-html: Remove an useless argument

* contrib/lisp/org-e-html.el (org-e-html-export-as-html): Remove
  PUB-DIR, which doesn't make sense in that function.
* contrib/lisp/org-export.el: Apply change in function declaration.
This commit is contained in:
Nicolas Goaziou 2012-07-23 09:51:45 +02:00
parent 3a633732b7
commit 611075db0b
2 changed files with 2 additions and 5 deletions

View File

@ -3066,7 +3066,7 @@ contextual information."
;;;###autoload
(defun org-e-html-export-as-html
(&optional subtreep visible-only body-only ext-plist pub-dir)
(&optional subtreep visible-only body-only ext-plist)
"Export current buffer to an HTML buffer.
If narrowing is active in the current buffer, only export its
@ -3088,9 +3088,6 @@ EXT-PLIST, when provided, is a property list with external
parameters overriding Org default settings, but still inferior to
file-local settings.
When optional argument PUB-DIR is set, use it as the publishing
directory.
Export is done in a buffer named \"*Org E-HTML Export*\", which
will be displayed when `org-export-show-temporary-export-buffer'
is non-nil."

View File

@ -110,7 +110,7 @@
(declare-function org-e-ascii-export-to-ascii "org-e-ascii"
(&optional subtreep visible-only body-only ext-plist pub-dir))
(declare-function org-e-html-export-as-html "org-e-html"
(&optional subtreep visible-only body-only ext-plist pub-dir))
(&optional subtreep visible-only body-only ext-plist))
(declare-function org-e-html-export-to-html "org-e-html"
(&optional subtreep visible-only body-only ext-plist pub-dir))
(declare-function org-e-latex-export-as-latex "org-e-latex"