The regexes match ".fo" or ".xsl" anywhere in the path of the visited file, not just at the end of its name,
so for example, if I visit
xsl-mode will be used instead of c-mode.
I'm attaching a patch.
Get latest updates about Open Source Projects, Conferences and News.