* lisp/progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
commit5e9419e849410373473691611778572622ea490a
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 13 Nov 2012 18:57:26 +0000 (13 22:57 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 13 Nov 2012 18:57:26 +0000 (13 22:57 +0400)
tree88032e7ebb0ae6815a9e2bda2637e37c153f54ff
parenta77b8d5eb0ac3ea68f8a6e647677b1286ab47d30
* lisp/progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
start/end keyword a bit harder.  Works with different values of N.
Add more comments.
(ruby-end-of-block): Update accordingly.

* test/automated/ruby-mode-tests.el (ruby-heredoc-font-lock)
(ruby-singleton-class-no-heredoc-font-lock)
(ruby-add-log-current-method-examples): New tests.
(ruby-test-string): Extract from ruby-should-indent-buffer.
(ruby-deftest-move-to-block): New macro.
Add several move-to-block tests.
lisp/ChangeLog
lisp/progmodes/ruby-mode.el
test/ChangeLog
test/automated/ruby-mode-tests.el