浏览代码

Merge branch 'maint'

Nicolas Goaziou 7 年之前
父节点
当前提交
73d5ac74de
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ob-exp.el

+ 1 - 1
lisp/ob-exp.el

@@ -376,7 +376,7 @@ block will be evaluated.  Optional argument SILENT can be used to
 inhibit insertion of results into the buffer."
 inhibit insertion of results into the buffer."
   (unless (and hash (equal hash (org-babel-current-result-hash)))
   (unless (and hash (equal hash (org-babel-current-result-hash)))
     (let ((lang (nth 0 info))
     (let ((lang (nth 0 info))
-	  (body (if (org-babel-noweb-p (nth 2 info) :export)
+	  (body (if (org-babel-noweb-p (nth 2 info) :eval)
 		    (org-babel-expand-noweb-references
 		    (org-babel-expand-noweb-references
 		     info org-babel-exp-reference-buffer)
 		     info org-babel-exp-reference-buffer)
 		  (nth 1 info)))
 		  (nth 1 info)))