Hi,

At Sat, 5 Jan 2002 08:16:33 +0900,
matz / ruby-lang.org (Yukihiro Matsumoto) wrote:
> |A patch to version 1.40.
> 
> Could you commit this patch?

I found another bug.

Since I carelessly used '= not 'eq, when there are just comment
lines (and maybe empty lines) at the beginning of buffer,
indentation results error.

Any problem to commit this with [ruby-talk:30479]?


Index: ruby-mode.el =================================================================== RCS file: /cvs/ruby/src/ruby/misc/ruby-mode.el,v retrieving revision 1.41 diff -u -2 -p -r1.41 ruby-mode.el --- ruby-mode.el 2002/01/05 03:22:41 1.41 +++ ruby-mode.el 2002/01/09 11:20:33 @@ -544,5 +544,5 @@ The variable ruby-indent-level controls (let ((pos (point))) (while (and (re-search-backward "#" bol t) - (= (char-before) ??)) + (eq (char-before) ??)) (forward-char -1)) (skip-chars-backward " \t")
-- Nobu Nakada