init
This commit is contained in:
commit
a870d79674
8 changed files with 604 additions and 0 deletions
11
lua/orgmode-babel/run_all.el
Normal file
11
lua/orgmode-babel/run_all.el
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
(defun run-all-org-babel-blocks ()
|
||||
"Run all org-mode code blocks in the current buffer."
|
||||
(interactive)
|
||||
(org-babel-execute-buffer))
|
||||
|
||||
(setq org-confirm-babel-evaluate nil)
|
||||
(find-file (nth 0 command-line-args-left))
|
||||
(run-all-org-babel-blocks)
|
||||
(save-buffer)
|
||||
(save-buffers-kill-emacs)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue