Your example works for me. viz, the call to bar returns "foo" (not nil).

MacOS 10.14.6, Emacs 26.1, org release_9.2.6-534-g6f32e7

HTH,

Chuck

> On Sep 10, 2019, at 12:57 AM, Carlos Sánchez de La Lama 
> <csanchez...@gmail.com> wrote:
> 
> Hi all,
> 
> I am being unable to make nested calls work. Here is a minimal snippet:
> 
> --8<---------------cut here---------------start------------->8---
> #+NAME: foo
> #+BEGIN_SRC emacs-lisp
> "foo"
> #+END_SRC
> 
> #+NAME: bar
> #+CALL: foo()
> 
> #+RESULTS: bar
> : foo
> 
> #+CALL: bar()
> 
> #+RESULTS:
> : nil
> --8<---------------cut here---------------end--------------->8---
> 
> Why does the last call (to bar) return nil instead of the result of bar
> (which is "foo")? Actually, if I remove foo altogether, executing "bar"
> block gives an error, but executing the last call to "bar" still works
> (and still returns nil).
> 
> Are nested calls supported at all?
> 
> Thanks,
> 
> Carlos
> 
> -- 
> Carlos
> 
> 

Reply via email to