diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-22 13:15:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-22 13:15:56 +0000 |
commit | 140177dda7f18374db8d4ed1a207ec01d4a86d9d (patch) | |
tree | b9f006846a9077749221cd015cb1bc204f8ffa69 /misc | |
parent | b8ea267a624086a97e5c33afc95320cce2956fb3 (diff) | |
download | ruby-140177dda7f18374db8d4ed1a207ec01d4a86d9d.tar.gz ruby-140177dda7f18374db8d4ed1a207ec01d4a86d9d.tar.xz ruby-140177dda7f18374db8d4ed1a207ec01d4a86d9d.zip |
* misc/ruby-style.el (ruby-style-{case,label}-indent): up list from
indentation point.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ruby-style.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/ruby-style.el b/misc/ruby-style.el index 97206722f..191541905 100644 --- a/misc/ruby-style.el +++ b/misc/ruby-style.el @@ -19,6 +19,7 @@ (defun ruby-style-case-indent (x) (save-excursion + (back-to-indentation) (unless (progn (backward-up-list) (back-to-indentation) (> (point) (cdr x))) (goto-char (cdr x)) @@ -26,6 +27,7 @@ (defun ruby-style-label-indent (x) (save-excursion + (back-to-indentation) (unless (progn (backward-up-list) (back-to-indentation) (>= (point) (cdr x))) (goto-char (cdr x)) |