1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00

* lisp/progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the

Rakefile regexp.
(auto-mode-alist): Associate .gemspec files with ruby-mode
(https://bugs.ruby-lang.org/issues/5453).
This commit is contained in:
Dmitry Gutov 2012-12-26 23:52:56 +04:00
parent bd8c13f9fa
commit 78269b95cf
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
* progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
Rakefile regexp.
(auto-mode-alist): Associate .gemspec files with ruby-mode
(https://bugs.ruby-lang.org/issues/5453).
2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
* net/tramp-adb.el (tramp-adb-get-ls-command): New defun. Suppress

View File

@ -1682,7 +1682,9 @@ 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))
(add-to-list 'auto-mode-alist (cons (purecopy "Rakefile\\'") 'ruby-mode))
;;;###autoload
(add-to-list 'auto-mode-alist (cons (purecopy "\\.gemspec\\'") 'ruby-mode))
;;;###autoload
(dolist (name (list "ruby" "rbx" "jruby" "ruby1.9" "ruby1.8"))