Rudolf Adamkovič <[email protected]> writes:

> Ihor Radchenko <[email protected]> writes:
>
>> A bit late. I have already fixed the bug on main.
>
> Looking at your patch, I am a bit surprised.  Why are we replacing both
> '() and `null' with `hline' in improper lists?  Improper lists are
> either pairs of primitive values or specialized data structures.  In
> neither case should Org *ever* replace anything with a horizontal lines
> (`hline').  Also, the symbol `null' does not exist in Scheme, and yet it
> is handled in the code and tested, as if it was real.

Hmm. You are probably right.

(defcustom org-babel-scheme-null-to 'hline
  "Replace `null' and empty lists in scheme tables with this before returning."

The docstring only talk about tables, which are always proper lists, so
what I did is probably an overkill.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to