diff options
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)) |