From 8732d382ec004f811ff517ef4f6b90bf909a2ff7 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 30 Nov 2012 13:51:12 -0500 Subject: [PATCH] Clean up unneeded auto-modes; add [Rr]akefile auto-mode. --- auto-modes.el | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/auto-modes.el b/auto-modes.el index 19bf701..6146b6d 100644 --- a/auto-modes.el +++ b/auto-modes.el @@ -14,15 +14,6 @@ '("\\.ascx$" . csharp-mode) '("\\.cs$" . csharp-mode) - ;; css-mode - '("\\.css$" . css-mode) - - ;; ebuild-mode - '("\\.ebuild$" . ebuild-mode) - - ;; js-mode - '("\\.js$" . js-mode) - ;; haskell-mode '("\\.l?hs$" . haskell-mode) @@ -43,15 +34,14 @@ '("\\.xul$" . nxml-mode) ;; php-mode - '("\\.php$" . php-mode) '("\\.module$" . php-mode) ;; Drupal modules ;; python-mode '("\\.pyx?$" . python-mode) ;; ruby-mode - '("\\.rake$" . ruby-mode) - '("\\.rb$" . ruby-mode) + '("\\.rake$" . ruby-mode) + '("/[Rr]akefile$" . ruby-mode) ;; Perhaps surprisingly, I do not use Emacs as my PDF viewer. '("\\.pdf$" . fundamental-mode) -- 2.43.2