From 671b498070c0fa33fa6afaf4f4672441ae61661a Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 19 Oct 2010 03:25:29 +0000 Subject: Commit miss. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- misc/ruby-mode.el | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'misc') diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index 9a21c485a9..0072f1e0d5 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -451,12 +451,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)) - (progn (forward-word -1) - (not (and (or (bolp) (not (eq (char-before (point)) ?_))) - (looking-at "class<<"))))) - t) - ((or (progn (goto-char start) (looking-at ruby-operator-re)) + ((and (eq option 'heredoc) (< space 0)) t) + ((or (looking-at ruby-operator-re) (looking-at "[\\[({,;]") (and (looking-at "[!?]") (or (not (eq option 'modifier)) -- cgit v1.2.3