Pergunta

I am using Emacs 24.3, and would like to have .psp (python server pages) files automatically be in python-mode when opened as opposed to the default Fundamental mode. Thanks.

Foi útil?

Solução

Use auto-mode-alist. Something like this in your configuration should do the trick:

(add-to-list 'auto-mode-alist
             '("\\.psp\\'" . python-mode))
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top