emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113131: * lisp/progmodes/ruby-mode.el (auto-mode-al


From: Dmitry Gutov
Subject: [Emacs-diffs] trunk r113131: * lisp/progmodes/ruby-mode.el (auto-mode-alist): Do not use
Date: Sat, 22 Jun 2013 00:11:25 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113131
revision-id: address@hidden
parent: address@hidden
committer: Dmitry Gutov <address@hidden>
branch nick: trunk
timestamp: Sat 2013-06-22 04:11:24 +0400
message:
  * lisp/progmodes/ruby-mode.el (auto-mode-alist): Do not use
  `regexp-opt', it breaks the build during dumping.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/progmodes/ruby-mode.el    
rubymode.el-20091113204419-o5vbwnq5f7feedwu-8804
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-06-21 23:14:38 +0000
+++ b/lisp/ChangeLog    2013-06-22 00:11:24 +0000
@@ -1,3 +1,8 @@
+2013-06-22  Dmitry Gutov  <address@hidden>
+
+       * progmodes/ruby-mode.el (auto-mode-alist): Do not use
+       `regexp-opt', it breaks the build during dumping.
+
 2013-06-21  Dmitry Gutov  <address@hidden>
 
        * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight

=== modified file 'lisp/progmodes/ruby-mode.el'
--- a/lisp/progmodes/ruby-mode.el       2013-06-21 23:20:54 +0000
+++ b/lisp/progmodes/ruby-mode.el       2013-06-22 00:11:24 +0000
@@ -1869,12 +1869,11 @@
 ;;;###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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]