Ihor Radchenko <yanta...@posteo.net> writes:

>> The test creates a `src' block with the language set to `any-language'.
>> It passes with that fake language, but when I change it to something
>> real, such as `c' or `fundamental', the indentation is incorrect, and
>> the test fails.
>
> I can reproduce.
> The test is indeed not correct.
> src block in the test should not have "-i" flag. It is exactly what is
> making the test fail. (AFAIU)

I fixed the test and then applied your patches on top of that.
I also amended if-let to become if-let*. The former is obsolete on Emacs
master.
Applied, onto main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=1bec6a36f
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=cb7bcfdca
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8ef67956d

-- 
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