Erik Iverson <er...@ccbr.umn.edu> wrote:

> >
> > Am I missing something?
> 
> org-babel-confirm-evaluate is a function.
> org-confirm-babel-evaluate is a variable.
> 

I got that much, but I was expecting the return value of the function to
make a difference...
> 
> evaluation-confirmed is the result of evaluating the
> org-babel-confirm-evaluate function.  So even though the
> /result/ of that function isn't used yet, the function is still
> called.  That function uses the value of org-confirm-babel-evaluate
> to decide to prompt the user or not. So, as of now,
> setting org-confirm-babel-evaluate to t or nil definitely has an
> effect.

... but of course in this case, the function never returns in the
no-confirm case.

Thanks for setting me straight!
Nick

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to