From: Bozhidar Batsov Date: Tue, 9 Dec 2014 17:05:13 +0000 (+0200) Subject: Associate more files with ruby-mode X-Git-Tag: emacs-25.0.90~2635^2~132 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fda355b5bd8330762cb7894fc038492c6c9720a1;p=emacs.git Associate more files with ruby-mode * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile and Puppetfile. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bf139d6e445..5ed3e47c7d9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-12-09 Bozhidar Batsov + + * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile + and Puppetfile. + 2014-12-09 Eric S. Raymond * 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 2f23e338f81..803bf579da3 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))