]> code.delx.au - gnu-emacs/commit
* lisp/progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 14 Feb 2013 03:33:55 +0000 (07:33 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 14 Feb 2013 03:33:55 +0000 (07:33 +0400)
commit53ca88c478b773f2b56084442c8d17e83577f52c
tree53c4a4346dd423000de81ed52bd14b2d104f5237
parent6b26f14f789112bb929f65a8d44caeda11418432
* lisp/progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
depth for unfinished percent literal.  Not using it in the caller.
(ruby-move-to-block): Jump over multiline literals of all types,
ignoring code-looking contents inside them.

* test/automated/ruby-mode-tests.el
(ruby-move-to-block-skips-percent-literal): Add depth-affecting
bits inside the examples.
(ruby-move-to-block-skips-heredoc): New test.
lisp/ChangeLog
lisp/progmodes/ruby-mode.el
test/ChangeLog
test/automated/ruby-mode-tests.el