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'.
This commit is contained in:
Nicolas Goaziou 2016-07-24 23:26:43 +02:00
parent 7739ead8b1
commit 9930c40790

View file

@ -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)