emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [babel] confusion about org-confirm-babel-evaluate


From: Nick Dokos
Subject: Re: [Orgmode] [babel] confusion about org-confirm-babel-evaluate
Date: Thu, 12 Aug 2010 12:38:17 -0400

Erik Iverson <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]