How to evaluate all code blocks when exporting in emacs org-mode

前端 未结 2 765
甜味超标
甜味超标 2021-02-14 03:17

I have an org-mode document with many different R source code blocks. Whenever I hit C-c C-e and export to PDF or HTML I get a different prompt asking t

2条回答
  •  日久生厌
    2021-02-14 03:54

    Put the following line at the top of your file, that way you get asked one time upon opening it, and the safer non-evaluating default remains true for other files

    # -*- org-confirm-babel-evaluate: nil -*-
    

提交回复
热议问题