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

* lisp/progmodes/ruby-mode.el (auto-mode-alist): Do not use

`regexp-opt', it breaks the build during dumping.
This commit is contained in:
Dmitry Gutov 2013-06-22 04:11:24 +04:00
parent 7bcf66280c
commit f72e2fdb68
2 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
* progmodes/ruby-mode.el (auto-mode-alist): Do not use
`regexp-opt', it breaks the build during dumping.
2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
* progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight

View file

@ -1869,12 +1869,11 @@ The variable `ruby-indent-level' controls the amount of indentation.
;;;###autoload
(add-to-list 'auto-mode-alist
(cons (purecopy (concat "\\(?:\\."
(regexp-opt '("rb" "ru" "rake" "thor"
"jbuilder" "gemspec"))
"rb\\|ru\\|rake\\|thor"
"\\|jbuilder\\|gemspec"
"\\|/"
(regexp-opt '("Gemfile" "Rakefile"
"Capfile" "Thorfile"
"Vagrantfile" "Guardfile"))
"\\(?:Gem\\|Rake\\|Cap\\|Thor"
"Vagrant\\|Guard\\)file"
"\\)\\'")) 'ruby-mode))
;;;###autoload