From e5ed1780afa9a5f29da7c63ca2b7d9c66f6936aa Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 18 Jan 2000 06:09:05 +0000 Subject: 2000-01-18 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- misc/ruby-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'misc/ruby-mode.el') diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index 1b7effc459..8f144cbd4c 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -179,7 +179,8 @@ The variable ruby-indent-level controls the amount of indentation. (back-to-indentation) (setq top (current-column)) (skip-chars-backward " \t") - (if (>= shift top) (setq shift (- shift top))) + (if (>= shift top) (setq shift (- shift top)) + (setq shift 0)) (if (and (bolp) (= x top)) (move-to-column (+ x shift)) -- cgit v1.2.3