emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [bug] Exporting results in "Wrong type argument" when "+CALL" is use


From: Berry, Charles
Subject: Re: [bug] Exporting results in "Wrong type argument" when "+CALL" is used
Date: Sun, 31 Jan 2021 20:24:01 +0000


> On Jan 30, 2021, at 3:10 PM, Rodrigo Morales <moralesrodrigo1100@gmail.com> 
> wrote:
> 
> 
> As the subject states, executing some exporting commands (see list in
> step 2 below) results in an error when there is at least one "#+CALL"
> statement.
> 
> The backtrace is shown below.
> 
> #+begin_example
> Debugger entered--Lisp error: (wrong-type-argument consp nil)
>  org-babel-exp-code(nil lob)

[snip]

There is a malformed line:

#+CALL: foo

and M-x org-lint fails to find it. See (info "(org) Evaluating Code Blocks")

Using  

#+CALL: foo()

works.

Curiously enough, placing that line at the very end of file (i.e. with no 
trailing newline) works.

HTH,

Chuck





reply via email to

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