From 21063c1f543e6e08c8817731dbfa6bd1b3db8c45 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Mon, 5 Mar 2018 14:27:11 +0700 Subject: [PATCH] Remove some Ruby file associations Those were added upstream to ruby-mode. --- modules/prelude-ruby.el | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/modules/prelude-ruby.el b/modules/prelude-ruby.el index f8d1a00..73e00e0 100644 --- a/modules/prelude-ruby.el +++ b/modules/prelude-ruby.el @@ -36,26 +36,6 @@ (prelude-require-packages '(inf-ruby yari)) -;; Rake files are ruby, too, as are gemspecs, rackup files, and gemfiles. -(add-to-list 'auto-mode-alist '("\\.rake\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("Rakefile\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("\\.gemspec\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("\\.ru\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("Gemfile\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("Guardfile\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("Capfile\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("\\.cap\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("\\.thor\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("\\.rabl\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("Thorfile\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("Vagrantfile\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("\\.jbuilder\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("Podfile\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("\\.podspec\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("Puppetfile\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("Berksfile\\'" . ruby-mode)) -(add-to-list 'auto-mode-alist '("Appraisals\\'" . ruby-mode)) - ;; We never want to edit Rubinius bytecode (add-to-list 'completion-ignored-extensions ".rbc")