diff options
| author | Dmitry Gutov | 2013-02-13 12:15:05 +0400 |
|---|---|---|
| committer | Dmitry Gutov | 2013-02-13 12:15:05 +0400 |
| commit | 7132e457ad3d5c6eec1c1eb78e1b7409d1fd5631 (patch) | |
| tree | a329e7edb289d109d1ecd909d4f43cbf7b3d068d /src/buffer.c | |
| parent | 3c4a4b230388311d253e11787f2a9eb064056160 (diff) | |
| download | emacs-7132e457ad3d5c6eec1c1eb78e1b7409d1fd5631.tar.gz emacs-7132e457ad3d5c6eec1c1eb78e1b7409d1fd5631.zip | |
* lisp/progmodes/ruby-mode.el (ruby-move-to-block): Improve
performance. Instead of recalculating indentation fully for each
line, sum up indentation depth based only on visited lines.
(ruby-parse-partial): Increase the depth after "do" even when END
is right after it.
(ruby-parse-partial): When END is in the middle of a percent
literal, increase the depth if the delimiter chars belong to the
paren syntax class.
* test/automated/ruby-mode-tests.el
(ruby-move-to-block-skips-percent-literal): New test.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions