From: Bozhidar Batsov Date: Fri, 10 Jan 2014 16:32:45 +0000 (+0200) Subject: * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add .podspec and Podfile. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2^2~7 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dd8067103161d24f61a7d4f9efa195ac9e3543d4;p=emacs.git * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add .podspec and Podfile. --- 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