Sébastien Miquel <sebastien.miq...@posteo.eu> writes: > Is there a way to have an org-babel block which only exports its code > but still gets evaluated when exporting ?
I think you can do something like this: #+begin_src emacs-lisp :exports both :results none (setq my-variable t) #+end_src Or, if you want to pass the results to another block you could use ":results output silent" or ":results value silent." Best, Matt