This commit is contained in:
marshmallow 2023-06-25 01:23:27 +10:00
commit a870d79674
No known key found for this signature in database
GPG key ID: 767B8880F5AAEB9C
8 changed files with 604 additions and 0 deletions

View 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)