;ELC
|
;;; Compiled
|
;;; in Emacs version 26.1
|
;;; with all optimizations.
|
|
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
|
|
;;; This file does not contain utf-8 non-ASCII characters,
|
;;; and so can be loaded in Emacs versions earlier than 23.
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
(byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313\314\315\316\317&\207" [require ob-core custom-declare-variable org-export-use-babel funcall function #[0 "\300\207" [t] 1] "Switch controlling code evaluation and header processing during export.\nWhen set to nil no code will be evaluated as part of the export\nprocess and no header arguments will be obeyed. Users who wish\nto avoid evaluating code on export should use the header argument\n`:eval never-export'." :group org-babel :version "24.1" :type (choice (const :tag "Never" nil) (const :tag "Always" t)) :safe null] 12)
|
#@248 Evaluate BODY at the source of the Babel block at point.
|
Source is located in `org-babel-exp-reference-buffer'. The value
|
returned is the value of the last form in BODY. Assume that
|
point is at the beginning of the Babel block.
|
|
(fn &rest BODY)
|
(defalias 'org-babel-exp--at-source '(macro . #[128 "\300\301\302\303\304\305BBEE\207" [let ((source (get-text-property (point) 'org-reference))) with-current-buffer (if source org-babel-exp-reference-buffer (current-buffer)) org-with-wide-buffer (when source (goto-char source))] 8 (#$ . 1008)]))
|
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put org-babel-exp--at-source lisp-indent-function 1 put edebug-form-spec body] 5)
|
#@480 Process source block for export.
|
Depending on the ":export" header argument, replace the source
|
code block like this:
|
|
both ---- display the code and the results
|
|
code ---- the default, display the code inside the block but do
|
not process
|
|
results - just like none only the block is run on export ensuring
|
that its results are present in the Org mode buffer
|
|
none ---- do not display either code or results upon export
|
|
Assume point is at block opening line.
|
(defalias 'org-babel-exp-src-block #[0 "\212\303\304!\211@\3058\306\204 \307\310\311 #\210\205q \312\3058\236A\313\235\203l \314\315P!\316`\317\"r\211\2036 \2027 pq\210\212\214~\210\211\203D \211b\210AA\211\320\321\322\n\323!\205V J\324\325 !\fC\"$!\240\266+\266\326!\262\327\330#\266\204)\207" [noninteractive org-babel-exp-reference-buffer org-babel-default-header-args org-babel-get-src-block-info light 2 nil message "org-babel-exp process %s at position %d..." line-beginning-position :exports ("both" "results") intern "org-babel-default-header-args:" get-text-property org-reference org-babel-process-params apply org-babel-merge-params boundp append org-babel-params-from-properties org-babel-sha1-hash org-babel-exp-do-export block] 16 (#$ . 1706) nil])
|
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable org-babel-exp-call-line-template funcall function #[0 "\300\207" [#1=""] 1 #1#] "Template used to export call lines.\nThis template may be customized to include the call line name\nwith any export markup. The template is filled out using\n`org-fill-template', and the following %keys may be used.\n\n line --- call line\n\nAn example value would be \"\\n: call: %line\" to export the call line\nwrapped in a verbatim environment.\n\nNote: the results are inserted separately after the contents of\nthis template." :group org-babel :type string] 8)
|
#@45 Execute all Babel blocks in current buffer.
|
(defalias 'org-babel-exp-process-buffer #[0 "\205\275\305 \306\307\310\311\312!\313\"\314$\216\315\316\317 \320\216\212eb\210\321\322\315#\2035 \307\224\323\324 \325$\266\202 eb\210\321\322\315#\205\267\326 \306\307\327\311\312!\330\"\331$\216\332 )\262\2048 \333\225\326 \306\307\327\311\312!\334\"\331$\216\203o \335 \202q \336 )\262\337!\211\340>\203\202 ?\205\206 \211\211\262\262\341\342\343\"!\341\212\342\344\"b\210\345\322x\210`)!\346=\203\361 \347\322\"\3148A\211\350\236A\203\304 \350\236A\351\230\203\304 \352 \"\202\307 A@\240\266b\210\353\354\"\211\355\232\203\345 b\210\356\322w\210`|\210\202\354 |\210\211c\210\266\202\251\357>\203:\353\360!\361\"\210\362\363\342\364\"BC\"\211\355\232\203,b\210\365=\204!\356\322w\210`\202'\345\322w\210\366 |\210\2026b\210|\210\211c\210\210\202\251\367=\203\251\341\307\224!\370 b\210\371 \211\204Ub\210\202\242\211\355\232\203lb\210\345\322w\210\372 \210`|\210\202\242b\210`\212b\210\324 )|\210\211c\210\f\204\210\342\373\"\203\234\212\345\322x\210\374!\210b\210\374!\210)\202\242\375`#\210\210\322\211\223\266\322\211\223\210\211\322\211\223\266\2028 ,\266\202)\262\207" [org-export-use-babel org-babel-exp-reference-buffer case-fold-search org-babel-exp-call-line-template org-src-preserve-indentation current-window-configuration make-byte-code 0 "\301\300!\207" vconcat vector [set-window-configuration] 2 t "\\(call\\|src\\)_\\|^[ ]*#\\+\\(BEGIN_SRC\\|CALL:\\)" org-export-copy-buffer #[0 "\301!\210\302ed\303#\207" [org-babel-exp-reference-buffer kill-buffer remove-text-properties (org-reference)] 4] re-search-forward nil put-text-property line-end-position org-reference match-data "\301\300\302\"\207" [set-match-data evaporate] 3 org-in-commented-heading-p 1 [set-match-data evaporate] org-element-context org-element-at-point org-element-type (src-block babel-call) copy-marker org-element-property :begin :end " \n" inline-src-block org-babel-get-src-block-info :noweb "yes" org-babel-expand-noweb-references org-babel-exp-do-export inline "" " " (inline-babel-call babel-call) org-babel-lob-get-info lob org-fill-template "line" :value babel-call line-beginning-position src-block org-get-indentation org-babel-exp-src-block beginning-of-line :preserve-indent indent-line-to indent-rigidly] 15 (#$ . 3611) nil])
|
#@156 Return a string with the exported content of a code block.
|
The function respects the value of the :exports header argument.
|
|
(fn INFO TYPE &optional HASH)
|
(defalias 'org-babel-exp-do-export #[770 "\300\301\302\3038\236A\206 \304\211\305\267\202] \"\210\"\210\306\202^ \"\210\"\210\307\"\202^ \310\311$\210\306\202^ \310\311$\210\307\"\202^ \311\262\207" [#[514 "\300\3018\236A\211\302\232?\205 \303\304#\207" [:session 2 "none" org-babel-exp-results silent] 7 "\n\n(fn INFO TYPE)"] #[514 "\211\300=\203 |