* misc/ruby-mode.el (ruby-indent-beg-re): Fix broken regular

expression.  Fixes #4546

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mrkn 2011-06-30 14:54:11 +00:00
parent 1dcd4b325e
commit be5e17704c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Jun 30 23:50:00 2011 Kenta Murata <mrkn@mrkn.jp>
* misc/ruby-mode.el (ruby-indent-beg-re): Fix broken regular
expression. Fixes #4546
Thu Jun 30 23:43:30 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl.c/.h: Added ossl_x509_name_sk2ary.

View File

@ -72,7 +72,7 @@
"Regexp to match")
(defconst ruby-indent-beg-re
(concat "\\(\\s *" (regexp-opt '("class" "module" "def") t) "\\)"
(concat "\\(\\s *" (regexp-opt '("class" "module" "def") t) "\\)\\|"
(regexp-opt '("if" "unless" "case" "while" "until" "for" "begin")))
"Regexp to match where the indentation gets deeper.")