aboutsummaryrefslogtreecommitdiffstats
path: root/test/ChangeLog
diff options
context:
space:
mode:
authorDmitry Gutov2012-09-09 03:32:25 +0400
committerDmitry Gutov2012-09-09 03:32:25 +0400
commitc3268831411fd68ce4f6f84ecda5eda2814a59a8 (patch)
tree73bf19e8bfbead6b975c923d0df4d7d44ae4a7bf /test/ChangeLog
parent9d7f18633a3f36de96bb42d856355c5ce12f2b5d (diff)
downloademacs-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/ChangeLog7
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 @@
12012-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
12012-09-07 Dmitry Gutov <dgutov@yandex.ru> 82012-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).