remove references to :OrgTangle [name]
This commit is contained in:
parent
9129c7ac51
commit
26a928f38e
3 changed files with 0 additions and 23 deletions
|
|
@ -67,10 +67,6 @@ Tangles all blocks in range. If the range is NOT ~%~, the tangled file will
|
||||||
likely only contain the contents of the last block, which is expected
|
likely only contain the contents of the last block, which is expected
|
||||||
behaviour.
|
behaviour.
|
||||||
|
|
||||||
*** ~:OrgT[angle] [name]~
|
|
||||||
|
|
||||||
Tangles ~[name]~ block.
|
|
||||||
|
|
||||||
** Advanced Configuration
|
** Advanced Configuration
|
||||||
*** Adding extra org-mode languages
|
*** Adding extra org-mode languages
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ function M.setup(opts)
|
||||||
M._run_by_number = M._here .. "/run_by_number.el"
|
M._run_by_number = M._here .. "/run_by_number.el"
|
||||||
M._run_all = M._here .. "/run_all.el"
|
M._run_all = M._here .. "/run_all.el"
|
||||||
|
|
||||||
M._tangle_by_name = M._here .. "/tangle_by_name.el"
|
|
||||||
M._tangle_all = M._here .. "/tangle_all.el"
|
M._tangle_all = M._here .. "/tangle_all.el"
|
||||||
M._tangle_by_number = M._here .. "/tangle_by_number.el"
|
M._tangle_by_number = M._here .. "/tangle_by_number.el"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
(defun tangle-block-by-name (block-name)
|
|
||||||
"Tangle the org-babel code block with name BLOCK-NAME."
|
|
||||||
(save-excursion
|
|
||||||
(goto-char (point-min))
|
|
||||||
(while (re-search-forward (format "#\\+NAME: %s" block-name) nil t)
|
|
||||||
(if (org-babel-get-src-block-info)
|
|
||||||
(org-babel-tangle-collect-block)))))
|
|
||||||
|
|
||||||
|
|
||||||
(setq org-confirm-babel-evaluate nil)
|
|
||||||
(find-file (nth 0 command-line-args-left))
|
|
||||||
|
|
||||||
(dolist (block-name (nthcdr 1 command-line-args-left))
|
|
||||||
(tangle-block-by-name block-name))
|
|
||||||
|
|
||||||
(save-buffer)
|
|
||||||
(save-buffers-kill-emacs)
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue