summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-07-24 23:26:43 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-07-24 23:26:43 +0200
commit9930c40790a84c5eabb8e6d21e015977c8329e4b (patch)
treeeda3e5967dcab8fa3a26f83fedce619434c3d2d3
parent7739ead8b17055cbfc7908a6bcd1e2b6636a4868 (diff)
downloadorg-mode-9930c40790a84c5eabb8e6d21e015977c8329e4b.tar.gz
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'.
-rw-r--r--lisp/ob-lob.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/ob-lob.el b/lisp/ob-lob.el
index 28aef98..3ee38d9 100644
--- a/lisp/ob-lob.el
+++ b/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)