Fork me on GitHub
#emacs
<
2016-05-06
>
plexus10:05:38

does anyone have any clue how to call org-mode code blocks from elisp?

plexus10:05:30

googling and grepping through org code has yielded nothing... I have a bunch of named org source blocks, like

plexus10:05:52

#+NAME: foo
#+BEGIN_SRC sh
...
#+END_SRC

plexus10:05:11

and I would like to have a single block that calls them in order

plexus10:05:43

#+BEGIN_SRC emacs-lisp
(org-execute-code-block-I'm-making-this-shit-up "foo")
(org-execute-code-block-I'm-making-this-shit-up "bar")
...
#+END_SRC

kardan12:05:00

Is there an easy way to escape code that goes into a docstring?

kardan12:05:27

Found paredit-doublequote

plexus13:05:23

I've been doing my deployments from org-mode and it's seriously awesome

squiter14:05:19

Awesome link @plexus thanks!