summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-23 20:09:46 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-23 20:09:46 +0000
commitf11ac55489d81744f162036b402dc8d3b4ebcda9 (patch)
treefb8783b51f3b85845a96da4177103d6278992577 /misc
parentf468e000ce3ed8c5158af06600a0724bf9619c4b (diff)
downloadruby-f11ac55489d81744f162036b402dc8d3b4ebcda9.tar.gz
* misc/ruby-style.el (ruby-style-label-indent): fix for labels inside
blocks in switch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc')
-rw-r--r--misc/ruby-style.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ruby-style.el b/misc/ruby-style.el
index dd5ddffaf0..97206722f6 100644
--- a/misc/ruby-style.el
+++ b/misc/ruby-style.el
@@ -27,7 +27,7 @@
(defun ruby-style-label-indent (x)
(save-excursion
(unless (progn (backward-up-list) (back-to-indentation)
- (> (point) (cdr x)))
+ (>= (point) (cdr x)))
(goto-char (cdr x))
(condition-case ()
(progn