I usually use upper case letters for block header/tails in org mode.
It turns out in some cases poly-org-mode-matcher can be called with case-fold-search set to nil and it wasn't able to determine the mode from the upper case #+BEGIN_SRC.
In my case smartparens mode was setting case-fold-search to nil, but I assume there can be other cases.
I usually use upper case letters for block header/tails in org mode.
It turns out in some cases poly-org-mode-matcher can be called with case-fold-search set to nil and it wasn't able to determine the mode from the upper case #+BEGIN_SRC.
In my case smartparens mode was setting case-fold-search to nil, but I assume there can be other cases.