ソースを参照

org-export-string now accepts symbolic or string fmt argument

* lisp/org-exp.el (org-export-string): Use `format' to construct
  function call to allow symbolic or string arguments.
Eric Schulte 14 年 前
コミット
f8000a9bc1
1 ファイル変更1 行追加1 行削除
  1. 1 1
      lisp/org-exp.el

+ 1 - 1
lisp/org-exp.el

@@ -2658,7 +2658,7 @@ to the value of `temporary-file-directory'."
 	    (setq org-local-vars (org-get-local-variables)))
 	  (eval ;; convert to fmt -- mimicing `org-run-like-in-org-mode'
 	   (list 'let org-local-vars
-		 (list (intern (concat "org-export-as-" fmt))
+		 (list (intern (format "org-export-as-%s" fmt))
 		       nil nil nil ''string t))))
       (delete-file tmp-file))))