@b4n Ah, I assumed there's always a TMSourceFile available for any 
GeanyDocument (I assumed there would be a NONE type TMSourceFile for an 
untitled document). I just wanted to get rid of the -1 which correspons to 
LANG_AUTO that we shouldn't use. Using TM_PARSER_NONE is perfectly fine and 
logical in this case so your patch LGTM.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/943#issuecomment-193300266

Reply via email to