Add Rakefile in auto-mode-list for ruby-mode
[bpt/emacs.git] / lisp / progmodes / ruby-mode.el
index 84cf730..c9bfcef 100644 (file)
@@ -1638,6 +1638,8 @@ The variable `ruby-indent-level' controls the amount of indentation.
 
 ;;;###autoload
 (add-to-list 'auto-mode-alist (cons (purecopy "\\.rb\\'") 'ruby-mode))
+;;;###autoload
+(add-to-list 'auto-mode-alist '("Rakefile\\'" . ruby-mode))
 
 ;;;###autoload
 (dolist (name (list "ruby" "rbx" "jruby" "ruby1.9" "ruby1.8"))