Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

* 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
  • Loading branch information...
commit be5e17704c73f5e285986955013edfc19bbfd2b0 1 parent 1dcd4b3
Kenta Murata mrkn authored

Showing 2 changed files with 6 additions and 1 deletion. Show diff stats Hide diff stats

  1. +5 0 ChangeLog
  2. +1 1  misc/ruby-mode.el
5 ChangeLog
... ... @@ -1,3 +1,8 @@
  1 +Thu Jun 30 23:50:00 2011 Kenta Murata <mrkn@mrkn.jp>
  2 +
  3 + * misc/ruby-mode.el (ruby-indent-beg-re): Fix broken regular
  4 + expression. Fixes #4546
  5 +
1 6 Thu Jun 30 23:43:30 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
2 7
3 8 * ext/openssl/ossl.c/.h: Added ossl_x509_name_sk2ary.
2  misc/ruby-mode.el
@@ -72,7 +72,7 @@
72 72 "Regexp to match")
73 73
74 74 (defconst ruby-indent-beg-re
75   - (concat "\\(\\s *" (regexp-opt '("class" "module" "def") t) "\\)"
  75 + (concat "\\(\\s *" (regexp-opt '("class" "module" "def") t) "\\)\\|"
76 76 (regexp-opt '("if" "unless" "case" "while" "until" "for" "begin")))
77 77 "Regexp to match where the indentation gets deeper.")
78 78

0 comments on commit be5e177

Please sign in to comment.
Something went wrong with that request. Please try again.