]> git.eshelyaron.com Git - emacs.git/commitdiff
Associate more files with ruby-mode
authorBozhidar Batsov <bozhidar@tradeo.com>
Tue, 9 Dec 2014 17:05:13 +0000 (19:05 +0200)
committerBozhidar Batsov <bozhidar@tradeo.com>
Tue, 9 Dec 2014 17:05:13 +0000 (19:05 +0200)
* progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
and Puppetfile.

lisp/ChangeLog
lisp/progmodes/ruby-mode.el

index bf139d6e445278d5f619087be961ae07c3b430f3..5ed3e47c7d91a6d3fc804449ae171d27bce9c72c 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-09  Bozhidar Batsov  <bozhidar@batsov.com>
+
+       * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
+       and Puppetfile.
+
 2014-12-09  Eric S. Raymond  <esr@snark.thyrsus.com>
 
        * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
index 2f23e338f81aa004f98a16651c828605d3a31b5a..803bf579da3efe31aa0561b1ba6588a62061c446 100644 (file)
@@ -2206,9 +2206,10 @@ See `font-lock-syntax-table'.")
 (add-to-list 'auto-mode-alist
              (cons (purecopy (concat "\\(?:\\."
                                      "rb\\|ru\\|rake\\|thor"
-                                     "\\|jbuilder\\|gemspec\\|podspec"
+                                     "\\|jbuilder\\|rabl\\|gemspec\\|podspec"
                                      "\\|/"
                                      "\\(?:Gem\\|Rake\\|Cap\\|Thor"
+                                     "\\|Puppet\\|Berks"
                                      "\\|Vagrant\\|Guard\\|Pod\\)file"
                                      "\\)\\'")) 'ruby-mode))