mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* misc/ruby-mode.el (ruby-expr-beg): fix for invalid nest errors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0042bbc1c1
commit
787686ffa7
2 changed files with 9 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Feb 8 19:38:00 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* misc/ruby-mode.el (ruby-expr-beg): fix for invalid nest errors.
|
||||
|
||||
Tue Feb 8 19:22:59 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* configure.in (AC_MSG_CHECKING): fixed typo. the patch is
|
||||
|
|
|
@ -457,9 +457,8 @@ The variable ruby-indent-level controls the amount of indentation.
|
|||
(or (eq (char-syntax (char-before (point))) ?w)
|
||||
(ruby-special-char-p))))
|
||||
nil)
|
||||
((and (progn (goto-char start) (eq option 'heredoc))
|
||||
(not (ruby-singleton-class-p)))
|
||||
t)
|
||||
((and (eq option 'heredoc) (< space 0))
|
||||
(not (progn (goto-char start) (ruby-singleton-class-p))))
|
||||
((or (looking-at ruby-operator-re)
|
||||
(looking-at "[\\[({,;]")
|
||||
(and (looking-at "[!?]")
|
||||
|
|
Loading…
Reference in a new issue