diff --git a/contrib/lisp/org-e-html.el b/contrib/lisp/org-e-html.el
index 5cbcfb940..7eaa6e262 100644
--- a/contrib/lisp/org-e-html.el
+++ b/contrib/lisp/org-e-html.el
@@ -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."
diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el
index 8daa335e6..ef739d8ad 100644
--- a/contrib/lisp/org-export.el
+++ b/contrib/lisp/org-export.el
@@ -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"