Browse Source

ox-org: Fix arguments mismatch in `org-export-as-org'

* lisp/ox-org.el (org-export-as-org): Add missing BODY-ONLY argument,
which is always nil in this back-end.

Reported-by: Nicolas Girard <girard.nicolas@gmail.com>
Nicolas Goaziou 11 years ago
parent
commit
c2fa90248c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ox-org.el

+ 1 - 1
lisp/ox-org.el

@@ -173,7 +173,7 @@ be displayed when `org-export-show-temporary-export-buffer' is
 non-nil."
   (interactive)
   (org-export-to-buffer 'org "*Org ORG Export*"
-    async subtreep visible-only ext-plist (lambda () (org-mode))))
+    async subtreep visible-only nil ext-plist (lambda () (org-mode))))
 
 ;;;###autoload
 (defun org-org-export-to-org (&optional async subtreep visible-only ext-plist)