From dbd84ad6558d3de78fc4165fcb406dd9ee628d05 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Tue, 1 Jan 2013 17:29:54 +0100 Subject: [PATCH 1/2] org-latex.el (org-export-as-latex): Fix typo in docstring * org-latex.el (org-export-as-latex): Fix typo in docstring. --- lisp/org-latex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 490a49d06..609bcbee1 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -872,7 +872,7 @@ no LaTeX header. When BODY-ONLY is set, don't produce the file header and footer, simply return the content of \\begin{document}...\\end{document}, without even the \\begin{document} and \\end{document} commands. -when PUB-DIR is set, use this as the publishing directory." +When PUB-DIR is set, use this as the publishing directory." (interactive "P") (when (and (not body-only) arg (listp arg)) (setq body-only t)) (run-hooks 'org-export-first-hook) From 0f2bb6a56f4ff36cab13d0c6dd888a5b1691dc76 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Tue, 1 Jan 2013 17:35:35 +0100 Subject: [PATCH 2/2] org-exp.el (org-export-string): Fix number of arguments passed to the org-export-as-* functions. * org-exp.el (org-export-string): Fix number of arguments passed to the org-export-as-* functions. This fixes commit 43a242, thanks to George McNinch for reporting this. --- lisp/org-exp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 7428a28b2..51c34fd09 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -3047,7 +3047,7 @@ to the value of `temporary-file-directory'." (eval ;; convert to fmt -- mimicking `org-run-like-in-org-mode' (list 'let org-local-vars (list (intern (format "org-export-as-%s" fmt)) - nil nil nil ''string t dir)))) + nil nil ''string t dir)))) (delete-file tmp-file)))) ;;;###autoload