aboutsummaryrefslogtreecommitdiffstats
path: root/misc/ruby-style.el
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ruby-style.el')
-rw-r--r--misc/ruby-style.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/ruby-style.el b/misc/ruby-style.el
index 97206722f6..1915419056 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))