Browse Source

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 years ago
parent
commit
9930c40790
1 changed files with 1 additions and 3 deletions
  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)