Aitenate <aiten...@outlook.com> writes: > There appears to be a minor bug with fontification and certain block > configurations. > > The following example block results in a fontification error. > > #+begin_example > <-- two spaces followed by a tab > #+end_example > > It looks like org-src-font-lock-fontify-block is the culprit because > native-tab-width is only set when the block has a valid lang. Testing > with source blocks show they also suffer from the issue. > ... > I've attached a diff with, what I believe is, one possible way to > address the issue.
Thanks for reporting and for providing the fix! Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a1a9d408a4 -- 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>