|
@@ -54,28 +54,6 @@ process."
|
|
|
:type 'boolean)
|
|
|
(put 'org-export-babel-evaluate 'safe-local-variable (lambda (x) (eq x nil)))
|
|
|
|
|
|
-(defvar org-babel-function-def-export-keyword "function"
|
|
|
- "The keyword to substitute for the source name line on export.
|
|
|
-When exporting a source block function, this keyword will
|
|
|
-appear in the exported version in the place of source name
|
|
|
-line. A source block is considered to be a source block function
|
|
|
-if the source name is present and is followed by a parenthesized
|
|
|
-argument list. The parentheses may be empty or contain
|
|
|
-whitespace. An example is the following which generates n random
|
|
|
-\(uniform) numbers.
|
|
|
-
|
|
|
-#+source: rand(n)
|
|
|
-#+begin_src R
|
|
|
- runif(n)
|
|
|
-#+end_src")
|
|
|
-
|
|
|
-(defvar org-babel-function-def-export-indent 4
|
|
|
- "Number of characters to indent a source block on export.
|
|
|
-When exporting a source block function, the block contents will
|
|
|
-be indented by this many characters. See
|
|
|
-`org-babel-function-def-export-name' for the definition of a
|
|
|
-source block function.")
|
|
|
-
|
|
|
(defmacro org-babel-exp-in-export-file (lang &rest body)
|
|
|
(declare (indent 1))
|
|
|
`(let* ((lang-headers (intern (concat "org-babel-default-header-args:" ,lang)))
|