emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Nested calls in babel


From: Carlos Sánchez de La Lama
Subject: [O] Nested calls in babel
Date: Tue, 10 Sep 2019 09:57:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

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

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