diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ruby-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index 33b88a2942..5e252a28ae 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -512,7 +512,7 @@ The variable ruby-indent-level controls the amount of indentation. (setq end (point)) (beginning-of-line) (if (re-search-forward "^\\s *#" end t) - (forward-line 1) + (beginning-of-line) (setq done t)))) (setq bol (point)) (end-of-line) |