Max Nikulin <maniku...@gmail.com> writes: > Since `org-confirm-babel-evaluate' may be customized to a function, > every participant of this thread may implement their preferred policies > with no modification of Org code or even an advice to the default > function.
Not that easy. `org-confirm-babel-evaluate' only knows about currently executed src block. It has no access to its callers, like `org-babel-execute-buffer'. While `org-confirm-babel-evaluate' can be used to disable queries in buffer during current Emacs session, it will be hard to do something like "yes, for all the next queries in the current `org-babel-execute-buffer' call". -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92