Ver Fonte

ob-exp: Fix Lisp evaluation when exporting a source block

* lisp/ob-exp.el (org-babel-exp-src-block): Fully expand block
  parameters before exporting a source block.

Reported-by: Fabrice Popineau <fabrice.popineau@supelec.fr>
<http://lists.gnu.org/r/emacs-orgmode/2018-01/msg00471.html>
Nicolas Goaziou há 7 anos atrás
pai
commit
b86413beb3
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      lisp/ob-exp.el

+ 1 - 1
lisp/ob-exp.el

@@ -85,7 +85,7 @@ none ---- do not display either code or results upon export
 Assume point is at block opening line."
   (interactive)
   (save-excursion
-    (let* ((info (org-babel-get-src-block-info 'light))
+    (let* ((info (org-babel-get-src-block-info))
 	   (lang (nth 0 info))
 	   (raw-params (nth 2 info))
 	   hash)