diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-11-20 07:31:55 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-11-20 07:31:55 +0000 |
commit | 676e14b8437e49f54de307d55261474812ce4174 (patch) | |
tree | 5844d64e2d5e0b5a7b9dfc259037778db84b12aa /misc/ruby-mode.el | |
parent | 9b82cee79ef2577f943c3fd43fd414449a0ddb82 (diff) | |
download | ruby-676e14b8437e49f54de307d55261474812ce4174.tar.gz ruby-676e14b8437e49f54de307d55261474812ce4174.tar.xz ruby-676e14b8437e49f54de307d55261474812ce4174.zip |
matz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc/ruby-mode.el')
-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 5e252a28a..ed3580195 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -592,7 +592,7 @@ An end of a defun is found by moving forward from the beginning of one." (setq start (ruby-calculate-indent)) (if (eobp) nil - (while (and (not (bobp)) (not done)) + (while (and (not (bobp)) (not (eobp)) (not done)) (forward-line n) (cond ((looking-at "^$")) |