org-babel-confirm-evaluate: better doc and code when using function as
commitece347e32c571967c1c2f3f523ca7444d185a2ac
authorEric Schulte <schulte.eric@gmail.com>
Tue, 21 Dec 2010 16:37:19 +0000 (21 09:37 -0700)
committerEric Schulte <schulte.eric@gmail.com>
Tue, 21 Dec 2010 16:37:19 +0000 (21 09:37 -0700)
treeb5c6d040ed6dc2f684ac66ea2ab019c7d2b9b1a5
parentd234a9973b4d3a6ab60be76b1a70e5eeedf413c0
org-babel-confirm-evaluate: better doc and code when using function as

  Thanks to Vladimir Alexiev for submitting this patch

* lisp/ob.el (org-babel-confirm-evaluate): Fix for the case when
  org-confirm-babel-evaluate is a function (used to always ask no matter
  what the function returns).
* doc/org.texi (Code evaluation security): Add example for using a
  function.
doc/org.texi
lisp/ob.el