summaryrefslogtreecommitdiff
path: root/lisp/progmodes/ruby-mode.el
diff options
context:
space:
mode:
authorVasily Korytov <vasily.korytov@yahoo.com>2015-11-16 01:32:01 +0200
committerDmitry Gutov <dgutov@yandex.ru>2015-11-16 01:32:35 +0200
commitdbc090aeabe2cf80b1ab213b101c58d362a88d12 (patch)
tree1e3a2c1fdbe60661ff58818afc07a3fd339664ca /lisp/progmodes/ruby-mode.el
parent2edfc40a72439d0e1b8ccd5ad8d1523e0de601c0 (diff)
downloademacs-dbc090aeabe2cf80b1ab213b101c58d362a88d12.tar.gz
emacs-dbc090aeabe2cf80b1ab213b101c58d362a88d12.tar.bz2
emacs-dbc090aeabe2cf80b1ab213b101c58d362a88d12.zip
Recognize .rbw and .pyw files (bug#18753)
* lisp/progmodes/python.el (auto-mode-alist): Recognize .pyw files. * lisp/progmodes/ruby-mode.el (auto-mode-alist): Recognize .rbw files.
Diffstat (limited to 'lisp/progmodes/ruby-mode.el')
-rw-r--r--lisp/progmodes/ruby-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index ab83b977320..df07083eaef 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -2259,7 +2259,7 @@ See `font-lock-syntax-table'.")
;;;###autoload
(add-to-list 'auto-mode-alist
(cons (purecopy (concat "\\(?:\\.\\(?:"
- "rb\\|ru\\|rake\\|thor"
+ "rbw?\\|ru\\|rake\\|thor"
"\\|jbuilder\\|rabl\\|gemspec\\|podspec"
"\\)"
"\\|/"