commit | author | age
|
76bbd0
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310DD\311\312\313\314\315\316\317& \210\304\320\306\307\321DD\322\312\313\316\323&\210\304\324\306\307\325DD\326\312\327\314\315\316\330& \210\304\331\306\307\332DD\333\312\327\314\315\316\330& \210\304\334\306\307\335DD\336\312\327\314\315\316\330& \210\304\337\306\307\340DD\341\312\327\314\315\316\342& \210\304\343\306\307\344DD\341\312\327\314\315\316\342& \210\304\345\306\307\346DD\347\312\327\316\323&\210\304\350\306\307\351DD\352\312\327\314\315\316\307& \207" [require cl-lib org-src org-macs custom-declare-variable org-babel-tangle-lang-exts funcall function #[0 "\300\207" [(("emacs-lisp" . "el") ("elisp" . "el"))] 1] "Alist mapping languages to their file extensions.\nThe key is the language name, the value is the string that should\nbe inserted as the extension commonly used to identify files\nwritten in this language. If no entry is found in this list,\nthen the name of the language is used." :group org-babel-tangle :version "24.1" :type (repeat (cons (string "Language name") (string "File Extension"))) org-babel-tangle-use-relative-file-links #[0 "\300\207" [t] 1] "Use relative path names in links from tangled source back the Org file." boolean org-babel-post-tangle-hook #[0 "\300\207" [nil] 1] "Hook run in code files tangled by `org-babel-tangle'." org-babel hook org-babel-pre-tangle-hook #[0 "\300\207" [(save-buffer)] 1] "Hook run at the beginning of `org-babel-tangle'." org-babel-tangle-body-hook #[0 "\300\207" [nil] 1] "Hook run over the contents of each code block body." org-babel-tangle-comment-format-beg #[0 "\300\207" [#1="[[%link][%source-name]]"] 1 #1#] "Format of inserted comments in tangled code files.\nThe following format strings can be used to insert special\ninformation into the output using `org-fill-template'.\n%start-line --- the line number at the start of the code block\n%file --------- the file from which the code block was tangled\n%link --------- Org style link to the code block\n%source-name -- name of the code block\n\nUpon insertion the formatted comment will be commented out, and\nfollowed by a newline. To inhibit this post-insertion processing\nset the `org-babel-tangle-uncomment-comments' variable to a\nnon-nil value.\n\nWhether or not comments are inserted during tangling is\ncontrolled by the :comments header argument." string org-babel-tangle-comment-format-end #[0 "\300\207" [#2="%source-name ends here"] 1 #2#] org-babel-tangle-uncomment-comments #[0 "\300\207" [nil] 1] "Inhibits automatic commenting and addition of trailing newline\nof tangle comments. Use `org-babel-tangle-comment-format-beg'\nand `org-babel-tangle-comment-format-end' to customize the format\nof tangled comments." org-babel-process-comment-text #[0 "\300\207" [org-remove-indentation] 1] "Function called to process raw Org text collected to be\ninserted as comments in tangled source-code files. The function\nshould take a single string argument and return a string\nresult. The default value is `org-remove-indentation'."] 10) |
|
16 |
#@92 Find file ensuring that the latest changes on disk are |
|
17 |
represented in the file. |
|
18 |
|
|
19 |
(fn FILE) |
|
20 |
(defalias 'org-babel-find-file-noselect-refresh #[257 "\300\301\"\210r\302!q\210\303\304\211\211#)\207" [find-file-noselect nowarn get-file-buffer revert-buffer t] 5 (#$ . 3474)]) |
|
21 |
#@157 Open FILE into a temporary buffer execute BODY there like |
|
22 |
`progn', then kill the FILE buffer returning the result of |
|
23 |
evaluating BODY. |
|
24 |
|
|
25 |
(fn FILE &rest BODY) |
|
26 |
(defalias 'org-babel-with-temp-filebuffer '(macro . #[385 "\300\301!\300\302!\300\303!\300\304!\305D\306DDF\307D\310\306 DE\311\310 \312
BEE\313\314 DE\257\207" [make-symbol "temp-path" "temp-result" "temp-file" "visited-p" let* get-file-buffer org-babel-find-file-noselect-refresh setf with-current-buffer progn unless kill-buffer] 16 (#$ . 3754)])) |
|
27 |
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put org-babel-with-temp-filebuffer lisp-indent-function 1 put edebug-form-spec (form body)] 5) |
|
28 |
#@385 Extract the bodies of source code blocks in FILE. |
|
29 |
Source code blocks are extracted with `org-babel-tangle'. |
|
30 |
Optional argument TARGET-FILE can be used to specify a default |
|
31 |
export file for all source blocks. Optional argument LANG can be |
|
32 |
used to limit the exported source code blocks by language. |
|
33 |
Return a list whose CAR is the tangled file name. |
|
34 |
|
|
35 |
(fn FILE &optional TARGET-FILE LANG) |
|
36 |
(defalias 'org-babel-tangle-file #[769 "\300\301!!\302\303 \304\305\306\307\310!\311\"\312$\216\313!\210p\262\314\301\315\302#\")\262\2041 \316!\210\207" [get-file-buffer expand-file-name nil current-window-configuration make-byte-code 0 "\301\300!\207" vconcat vector [set-window-configuration] 2 find-file mapcar org-babel-tangle kill-buffer] 12 (#$ . 4447) "fFile to tangle: \nP"]) |
|
37 |
#@76 Tangle FILENAME and place the results in PUB-DIR. |
|
38 |
|
|
39 |
(fn _ FILENAME PUB-DIR) |
|
40 |
(defalias 'org-babel-tangle-publish #[771 "\211C\300\242!\204 \301\242\302\"\210\211\303\242!\240\210\304\305\306\307\310\311!\312\"\313\314%\315!\"\207" [file-exists-p make-directory t file-name-as-directory mapc make-byte-code 257 "\301\300\242\302#\207" vconcat vector [copy-file t] 5 "\n\n(fn EL)" org-babel-tangle-file] 11 (#$ . 5234)]) |
|
41 |
#@542 Write code blocks to source-specific files. |
|
42 |
Extract the bodies of all source code blocks from the current |
|
43 |
file into their own source-specific files. |
|
44 |
With one universal prefix argument, only tangle the block at point. |
|
45 |
When two universal prefix arguments, only tangle blocks for the |
|
46 |
tangle file of the block at point. |
|
47 |
Optional argument TARGET-FILE can be used to specify a default |
|
48 |
export file for all source blocks. Optional argument LANG can be |
|
49 |
used to limit the exported source code blocks by language. |
|
50 |
|
|
51 |
(fn &optional ARG TARGET-FILE LANG) |
|
52 |
(defalias 'org-babel-tangle #[768 "\302\303!\210\214\212\304\232\203 \305 \211\203 \211b\210\202 \306\307!\210\210\310C\203- \311\312BC\"\202. \313\232\205B \312\314\315\316!8\236A\206B \306\307!\317C\320\321\322\323\324\325 \"\326\"\327\330%\331\232\203d \332\333\334\"\202i \335\"\"\210\336\337\242\242\333U\203{ \340\202| \341\342\343\344 \206\204 p!!$\210 \203\225 \320\345\346\347\242\"\"\210\320\350\242\"\210\346\347\242\")\266\204*\207" [org-babel-default-header-args org-babel-post-tangle-hook run-hooks org-babel-pre-tangle-hook (4) org-babel-where-is-src-block-head user-error "Point is not in a source code block" 0 org-babel-merge-params :tangle (16) 2 org-babel-get-src-block-info light nil mapc make-byte-code 257 "\211@A\304\n\"A\206
\305\304\"A\203 |