`regexp-opt', it breaks the build during dumping.
+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
;;;###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