ob-lob: Fix Library of Babel loading master
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 24 Jul 2016 21:26:43 +0000 (23:26 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 24 Jul 2016 21:26:43 +0000 (23:26 +0200)
* lisp/ob-lob.el (org-babel-lob-ingest): Do not replace
  `org-babel-default-header-args' with
  `org-babel-default-lob-header-args'.

lisp/ob-lob.el

index 28aef98..3ee38d9 100644 (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)