emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master fda355b: Associate more files with ruby-mode


From: Bozhidar Batsov
Subject: [Emacs-diffs] master fda355b: Associate more files with ruby-mode
Date: Tue, 09 Dec 2014 17:06:11 +0000

branch: master
commit fda355b5bd8330762cb7894fc038492c6c9720a1
Author: Bozhidar Batsov <address@hidden>
Commit: Bozhidar Batsov <address@hidden>

    Associate more files with ruby-mode
    
    * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
    and Puppetfile.
---
 lisp/ChangeLog              |    5 +++++
 lisp/progmodes/ruby-mode.el |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bf139d6..5ed3e47 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-09  Bozhidar Batsov  <address@hidden>
+
+       * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
+       and Puppetfile.
+
 2014-12-09  Eric S. Raymond  <address@hidden>
 
        * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 2f23e33..803bf57 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -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))
 



reply via email to

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