Let emacs choose mode conditionally when opening files

Posted by artistoex on Stack Overflow See other posts from Stack Overflow or by artistoex
Published on 2010-05-21T07:23:13Z Indexed on 2010/05/21 7:30 UTC
Read the original article Hit count: 177

Filed under:

I'm using the php debugger geben and nxhtml-mode -- my standard mode for editing php files. Unfortunately, these two modes don't mix well. Is it possible to configure emacs such a way that it enables nxhtml only conditionaly, when I open php files manually, but enables php-mode instead when the buffer is opened by geben?

© Stack Overflow or respective owner

Related posts about emacs