Skip to main content
Add missing paren
Source Link
ryuslash
  • 276
  • 2
  • 3

While I personally don't use babel much, going from the example, this should simply be:

(defun my-org-confirm-babel-evaluate (lang body) (not (member lang '("C" "clojure" "sh")))) (setq org-confirm-babel-evaluate 'my-org-confirm-babel-evaluate) 

Where C, clojure and sh should be replaced by the languages you don't want the confirmation for.

While I personally don't use babel much, going from the example, this should simply be:

(defun my-org-confirm-babel-evaluate (lang body) (not (member lang '("C" "clojure" "sh"))) (setq org-confirm-babel-evaluate 'my-org-confirm-babel-evaluate) 

Where C, clojure and sh should be replaced by the languages you don't want the confirmation for.

While I personally don't use babel much, going from the example, this should simply be:

(defun my-org-confirm-babel-evaluate (lang body) (not (member lang '("C" "clojure" "sh")))) (setq org-confirm-babel-evaluate 'my-org-confirm-babel-evaluate) 

Where C, clojure and sh should be replaced by the languages you don't want the confirmation for.

Source Link
ryuslash
  • 276
  • 2
  • 3

While I personally don't use babel much, going from the example, this should simply be:

(defun my-org-confirm-babel-evaluate (lang body) (not (member lang '("C" "clojure" "sh"))) (setq org-confirm-babel-evaluate 'my-org-confirm-babel-evaluate) 

Where C, clojure and sh should be replaced by the languages you don't want the confirmation for.