Is there a way to set this variable in the properties or options of the file header?

I know I can set it in file-local variables, with:

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

Or in a .dir-locals.el. However, when opening the file, I get prompted whether to allow setting the variable, which I don't want. If I press ! at that prompt, to allow setting it in the future, too, it allows any file to set the variable without prompting, not just the one I opened (or others in the dame directory).

Is there some way to set this in the file's Org headers instead?

submitted by /u/ieure
[link] [comments]