X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=auto-modes.el;h=da87ef889929ba959c1f517478e48c40c24823ec;hb=c2f68f50d024a966b6121882eba534e5b4d9f46e;hp=39abd4210f66fd66816771f94122600cbaa56c84;hpb=ffbe0905bafb79f5f0a5e3b0f0df6d33057c535a;p=emacs.d.git diff --git a/auto-modes.el b/auto-modes.el index 39abd42..da87ef8 100644 --- a/auto-modes.el +++ b/auto-modes.el @@ -20,12 +20,15 @@ ;; css-mode '("\\.css$" . css-mode) - - ;; ecmascript-mode - '("\\.js$" . ecmascript-mode) + + ;; ebuild-mode + '("\\.ebuild$" . ebuild-mode) + + ;; js-mode + '("\\.js$" . js-mode) ;; haskell-mode - '("\\.hs$" . haskell-mode) + '("\\.l?hs$" . haskell-mode) ;; nagios-mode '("\\.cfg$" . nagios-mode) @@ -36,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))