瀏覽代碼

ob-lob: Fix Library of Babel loading

* lisp/ob-lob.el (org-babel-lob-ingest): Do not replace
  `org-babel-default-header-args' with
  `org-babel-default-lob-header-args'.
Nicolas Goaziou 8 年之前
父節點
當前提交
9930c40790
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      lisp/ob-lob.el

+ 1 - 3
lisp/ob-lob.el

@@ -50,9 +50,7 @@ should not be inherited from a source block.")
   (interactive "fFile: ")
   (let ((lob-ingest-count 0))
     (org-babel-map-src-blocks file
-      (let* ((info (let ((org-babel-default-header-args
-			  org-babel-default-lob-header-args))
-		     (org-babel-get-src-block-info 'light)))
+      (let* ((info (org-babel-get-src-block-info 'light))
 	     (source-name (nth 4 info)))
 	(when source-name
 	  (setq source-name (intern source-name)