Re: org-babel block with :exports code that gets evaluated on export

2020-05-26 Thread Matthew Lundin
Sébastien Miquel 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

org-babel block with :exports code that gets evaluated on export

2020-04-01 Thread Sébastien Miquel
Hi, Is there a way to have an org-babel block which only exports its code but still gets evaluated when exporting ?