aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2015-11-16 01:14:54 +0200
committerDmitry Gutov2015-11-16 01:14:54 +0200
commit2edfc40a72439d0e1b8ccd5ad8d1523e0de601c0 (patch)
tree4d85da467ab0cabd79f97602759758b030fbba4e
parentf60a3b086cb30e1b794f586fe1da5947869e29fc (diff)
downloademacs-2edfc40a72439d0e1b8ccd5ad8d1523e0de601c0.tar.gz
emacs-2edfc40a72439d0e1b8ccd5ad8d1523e0de601c0.zip
Fix ruby-mode auto-mode-alist entry
* lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping around the extensions (bug#21257).
-rw-r--r--lisp/progmodes/ruby-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 754785168f2..ab83b977320 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -2258,9 +2258,10 @@ See `font-lock-syntax-table'.")
2258 2258
2259;;;###autoload 2259;;;###autoload
2260(add-to-list 'auto-mode-alist 2260(add-to-list 'auto-mode-alist
2261 (cons (purecopy (concat "\\(?:\\." 2261 (cons (purecopy (concat "\\(?:\\.\\(?:"
2262 "rb\\|ru\\|rake\\|thor" 2262 "rb\\|ru\\|rake\\|thor"
2263 "\\|jbuilder\\|rabl\\|gemspec\\|podspec" 2263 "\\|jbuilder\\|rabl\\|gemspec\\|podspec"
2264 "\\)"
2264 "\\|/" 2265 "\\|/"
2265 "\\(?:Gem\\|Rake\\|Cap\\|Thor" 2266 "\\(?:Gem\\|Rake\\|Cap\\|Thor"
2266 "\\|Puppet\\|Berks" 2267 "\\|Puppet\\|Berks"