diff options
Diffstat (limited to 'lisp/org/ob-lob.el')
-rw-r--r-- | lisp/org/ob-lob.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/org/ob-lob.el b/lisp/org/ob-lob.el index 4197f2d258d..a6194c4bc67 100644 --- a/lisp/org/ob-lob.el +++ b/lisp/org/ob-lob.el @@ -62,7 +62,7 @@ should not be inherited from a source block.") (cons (cons source info) (assq-delete-all source org-babel-library-of-babel)))) (cl-incf lob-ingest-count)))) - (message "%d src block%s added to Library of Babel" + (message "%d source block%s added to Library of Babel" lob-ingest-count (if (> lob-ingest-count 1) "s" "")) lob-ingest-count)) @@ -138,9 +138,8 @@ see." header org-babel-default-lob-header-args (append - (org-with-wide-buffer - (goto-char begin) - (org-babel-params-from-properties language)) + (org-with-point-at begin + (org-babel-params-from-properties language)) (list (org-babel-parse-header-arguments (org-element-property :inside-header context)) |