1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

Add Rakefile in auto-mode-list for ruby-mode

* progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
  `auto-mode-alist' (Bug#12835).
This commit is contained in:
Julien Danjou 2012-11-08 17:37:34 +01:00
parent a81ad2255c
commit cabc040aea
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2012-11-08 Julien Danjou <julien@danjou.info>
* progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
`auto-mode-alist' (Bug#12835).
2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.

View 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"))