I only want to turn off the warnings for certain source block languages.
I couldn't find an answer to this anywhere, only how to turn off the confirmation requests for all languages:
(setq org-confirm-babel-evaluate nil)
This is a super easy question for someone who knows e-lisp. It should be included with the documentation in my opinion, but there is only one language in the example.
How can I extend this to include more languages?
(defun my-org-confirm-babel-evaluate (lang body) (not (string= lang "ditaa"))) ; don't ask for ditaa (setq org-confirm-babel-evaluate 'my-org-confirm-babel-evaluate)