X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=auto-modes.el;h=da87ef889929ba959c1f517478e48c40c24823ec;hb=c4570ce7d6dffdd2a17fe5308e5b00732746fb97;hp=0dad7c33f57ab8af3dd52efa8dd1a23fc99907f6;hpb=3fcdaefe9cd5692cfb622e2f70cfbba2d97063ac;p=emacs.d.git diff --git a/auto-modes.el b/auto-modes.el index 0dad7c3..da87ef8 100644 --- a/auto-modes.el +++ b/auto-modes.el @@ -24,11 +24,11 @@ ;; ebuild-mode '("\\.ebuild$" . ebuild-mode) - ;; ecmascript-mode - '("\\.js$" . ecmascript-mode) + ;; js-mode + '("\\.js$" . js-mode) ;; haskell-mode - '("\\.hs$" . haskell-mode) + '("\\.l?hs$" . haskell-mode) ;; nagios-mode '("\\.cfg$" . nagios-mode) @@ -39,20 +39,22 @@ '("\\.xml$" . nxml-mode) '("\\.?html$" . nxml-mode) '("\\.config$" . nxml-mode) - '("\\.tpl$" . nxml-mode) + '("\\.tpl$" . nxml-mode) ;; Smarty templates '("\\.rdf$" . nxml-mode) '("\\.xul$" . nxml-mode) ;; php-mode '("\\.php$" . php-mode) + '("\\.module$" . php-mode) ;; Drupal modules ;; python-mode - '("\\.py$" . python-mode) + '("\\.pyx?$" . python-mode) ;; ruby-mode '("\\.rake$" . ruby-mode) '("\\.rb$" . ruby-mode) - + + '("\\.pdf$" . fundamental-mode) ) auto-mode-alist))