Browse Source

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.
Bastien Guerry 12 years ago
parent
commit
0f2bb6a56f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-exp.el

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