#11 Wrong regexes for auto-mode-alist

open
Other (6)
5
2011-11-01
2011-11-01
No

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
~/projects/bdsyslog.xsl/js/bdsyslog.js
xsl-mode will be used instead of c-mode.

I'm attaching a patch.

Discussion

  • Juhos Csaba-Zsolt

    Sorry, I meant xsl-mode instead of javascript-mode.

     
  • Juhos Csaba-Zsolt

    xsl-mode will be used instead of javascript-mode.

    Sorry, I'm tired.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks