From dd8067103161d24f61a7d4f9efa195ac9e3543d4 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Fri, 10 Jan 2014 18:32:45 +0200 Subject: [PATCH] * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add .podspec and Podfile. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/ruby-mode.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 49d1564c3e1..41ea776eba5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-01-10 Bozhidar Batsov + + * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec + and Podfile. + 2014-01-10 Eli Zaretskii * emacs-lisp/authors.el (authors-fixed-entries): Update my entry. diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 9725977f7c0..76945adaacb 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -2134,10 +2134,10 @@ See `font-lock-syntax-table'.") (add-to-list 'auto-mode-alist (cons (purecopy (concat "\\(?:\\." "rb\\|ru\\|rake\\|thor" - "\\|jbuilder\\|gemspec" + "\\|jbuilder\\|gemspec\\|podspec" "\\|/" "\\(?:Gem\\|Rake\\|Cap\\|Thor" - "Vagrant\\|Guard\\)file" + "Vagrant\\|Guard\\|Pod\\)file" "\\)\\'")) 'ruby-mode)) ;;;###autoload -- 2.11.4.GIT