babel: define variables before their first use
* lisp/babel/ob.el (org-babel-interpreters): define this before it is first used * lisp/babel/ob.el (org-babel-call-process-region-original): define this before it is first used
This commit is contained in:
parent
4c8f008f3f
commit
49e90002dc
|
@ -156,6 +156,9 @@ can not be resolved.")
|
||||||
(concat org-babel-source-name-regexp (regexp-quote name) "[ \t\n]*"
|
(concat org-babel-source-name-regexp (regexp-quote name) "[ \t\n]*"
|
||||||
(substring org-babel-src-block-regexp 1)))
|
(substring org-babel-src-block-regexp 1)))
|
||||||
|
|
||||||
|
(defvar org-babel-interpreters nil)
|
||||||
|
(defvar org-babel-call-process-region-original nil)
|
||||||
|
|
||||||
(defun org-babel-add-interpreter (interpreter)
|
(defun org-babel-add-interpreter (interpreter)
|
||||||
"Add INTERPRETER to `org-babel-interpreters' and update
|
"Add INTERPRETER to `org-babel-interpreters' and update
|
||||||
`org-babel-src-block-regexp' appropriately."
|
`org-babel-src-block-regexp' appropriately."
|
||||||
|
|
Loading…
Reference in New Issue