How do I prevent org-mode from executing all of the babel source blocks?

前端 未结 4 481
耶瑟儿~
耶瑟儿~ 2021-02-02 00:26

I have an org file with lots of babel source blocks in it that only need to be re-executed when the code is changed.

How do I prevent org from executing all of the block

4条回答
  •  轮回少年
    2021-02-02 00:59

    You can set the cache to yes (see http://orgmode.org/manual/cache.html). This can also be set a property line in the file to act globally. #+Property: header-args :cache yes just make sure to C-c C-c on that line to activate the property.

提交回复
热议问题