Re: [O] [PATCH] ob-core.el: fix confirm before eval when using a function

2013-07-01 Thread Achim Gratz
Richard Hansen writes: > When `org-confirm-babel-evaluate' is a function, this construct: > > (or (when (functionp org-confirm-babel-evaluate) > (funcall org-confirm-babel-evaluate lang block-body)) > org-confirm-babel-evaluate) > > will always be true -- if the function evalu

[O] [PATCH] ob-core.el: fix confirm before eval when using a function

2013-07-01 Thread Richard Hansen
* lisp/ob-core.el: (org-babel-check-confirm-evaluate): Fix handling of `org-confirm-babel-evaluate' when it is a function. When `org-confirm-babel-evaluate' is a function, this construct: (or (when (functionp org-confirm-babel-evaluate) (funcall org-confirm-babel-evaluate lang blo