summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-08-23 07:32:35 (GMT)
committer Nicolas Goaziou <n.goaziou@gmail.com>2013-08-23 07:32:35 (GMT)
commitc2fa90248c92963ebb936e225433c33ba4c716d2 (patch)
tree88bb9c6b6d8d55fbf3937df5e20f6adb117f0514
parent54431e2a5b1a1e4e4ab52bf01525bc985bb82304 (diff)
downloadorg-mode-c2fa90248c92963ebb936e225433c33ba4c716d2.zip
org-mode-c2fa90248c92963ebb936e225433c33ba4c716d2.tar.gz
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>
-rw-r--r--lisp/ox-org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-org.el b/lisp/ox-org.el
index 0d703e2..644cc0d 100644
--- a/lisp/ox-org.el
+++ b/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)