[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reference to non-existent variable `header-arguments-alist'
From: |
Ihor Radchenko |
Subject: |
Re: Reference to non-existent variable `header-arguments-alist' |
Date: |
Sat, 29 Jun 2024 17:49:18 +0000 |
Stefan Kangas <stefankangas@gmail.com> writes:
>>> ./lisp/org/ob-core.el:2517:`header-arguments-alist' see the docstring for
>>
>> It is not referring to a variable, but to ARGUMENTS slot in the INFO
>> list. INFO is expected to have the same format as the return value of
>> `org-babel-get-src-block-info'.
>
> So would something like the below be appropriate?
> ...
> INFO may provide the values of these header arguments (in the
> -`header-arguments-alist' see the docstring for
> -`org-babel-get-src-block-info'):
> +`header-arguments' alist; see `org-babel-get-src-block-info'):
I do not think so. `org-babel-get-src-block-info' is not actually
specifying that "arguments" is an alist. And it never says "header-arguments".
Both this docstring and also `org-babel-get-src-block-info's
need to be updated.
--
Ihor Radchenko // yantar92,
Org mode contributor,
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>