Andrea <andrea-...@hotmail.com> writes: > This is the full trace I get running "emacs --debug-init" (sorry I should > have added it in my bug report): > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > string-match("\\`\\(?:e\\(?:\\(?:macs-\\)?lisp\\)\\)\\'" nil nil) > string-match-p("\\`\\(?:e\\(?:\\(?:macs-\\)?lisp\\)\\)\\'" nil) > (not (string-match-p lang-re src-lang))
That looks like a malformed src block with missing lang. I recommend running M-x org-lint I now made Org skip source blocks without defined language when tangling. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f3de4c3e0 -- 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>