diff options
| author | Dmitry Gutov | 2012-09-09 03:32:25 +0400 |
|---|---|---|
| committer | Dmitry Gutov | 2012-09-09 03:32:25 +0400 |
| commit | c3268831411fd68ce4f6f84ecda5eda2814a59a8 (patch) | |
| tree | 73bf19e8bfbead6b975c923d0df4d7d44ae4a7bf /test/ChangeLog | |
| parent | 9d7f18633a3f36de96bb42d856355c5ce12f2b5d (diff) | |
| download | emacs-c3268831411fd68ce4f6f84ecda5eda2814a59a8.tar.gz emacs-c3268831411fd68ce4f6f84ecda5eda2814a59a8.zip | |
* lisp/progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
not just expect to be at its beginning. Adjust callees.
Succeed when do-end block has no space before the pipe character.
(ruby-brace-to-do-end): When the original block is one-liner,
convert to multiline. Reindent the result.
* test/automated/ruby-mode-tests.el:
(ruby-toggle-block-to-multiline): New test.
(ruby-should-indent-buffer, ruby-toggle-block-to-do-end)
(ruby-toggle-block-to-brace): Use buffer-string.
Diffstat (limited to 'test/ChangeLog')
| -rw-r--r-- | test/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 541937ec4e7..a7e22aa9ae1 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2012-09-08 Dmitry Gutov <dgutov@yandex.ru> | ||
| 2 | |||
| 3 | * automated/ruby-mode-tests.el: | ||
| 4 | (ruby-toggle-block-to-multiline): New test. | ||
| 5 | (ruby-should-indent-buffer, ruby-toggle-block-to-do-end) | ||
| 6 | (ruby-toggle-block-to-brace): Use buffer-string. | ||
| 7 | |||
| 1 | 2012-09-07 Dmitry Gutov <dgutov@yandex.ru> | 8 | 2012-09-07 Dmitry Gutov <dgutov@yandex.ru> |
| 2 | 9 | ||
| 3 | * automated/ruby-mode-tests.el: New tests (Bug#11613). | 10 | * automated/ruby-mode-tests.el: New tests (Bug#11613). |