BUG: ruby-mode.el : indentation after '||' disappears after

This is a minor bug but worth noting. Here’s some code indented by
ruby-mode.el (1.8.6-p36).


foo do |x|

a ||


The variable “b” should be indented, but it’s not. The indentation
appears properly if you remove the method call to foo , or remove the
block from that method call, or change the ‘||’ operator to ‘&&’. It
looks like an interaction between the ‘||’ and the preceding block but
I don’t have the elisp-fu to be sure.

Hope this helps,

Jeremy H.