Browse Source

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.
Nicolas Goaziou 13 years ago
parent
commit
611075db0b
2 changed files with 2 additions and 5 deletions
  1. 1 4
      contrib/lisp/org-e-html.el
  2. 1 1
      contrib/lisp/org-export.el

+ 1 - 4
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."

+ 1 - 1
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"