I want to execute selected source blocks in the active buffer. For example for the following org-mode file,
#+NAME: snippet1 #+BEGIN_SRC emacs-lisp (message "snippet 1") #+END_SRC #+NAME: snippet2 #+BEGIN_SRC emacs-lisp (message "snippet 2") #+END_SRC
I can use
to execute both blocks from elisp, but how can I execute snippet1 without executing snippet2?
I found the following related functions that might help.
Any pointers to relevant documentation is very much appreciated.