;; 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)
'("\\.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))