Is there a way to evaluate all elisp org source blocks in the current buffer? The best I have now is: save to file, and do:
(org-babel-load-file buffer-file-name)
Is there a more direct way?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityIs there a way to evaluate all elisp org source blocks in the current buffer? The best I have now is: save to file, and do:
(org-babel-load-file buffer-file-name)
Is there a more direct way?
You can execute all source blocks (elisp and otherwise) with org-babel-execute-buffer
which is bound to C-c C-v b.