summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/crm.el
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2012-09-09 03:32:25 +0400
committerDmitry Gutov <dgutov@yandex.ru>2012-09-09 03:32:25 +0400
commitc3268831411fd68ce4f6f84ecda5eda2814a59a8 (patch)
tree73bf19e8bfbead6b975c923d0df4d7d44ae4a7bf /lisp/emacs-lisp/crm.el
parent9d7f18633a3f36de96bb42d856355c5ce12f2b5d (diff)
downloademacs-c3268831411fd68ce4f6f84ecda5eda2814a59a8.tar.gz
emacs-c3268831411fd68ce4f6f84ecda5eda2814a59a8.tar.bz2
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 'lisp/emacs-lisp/crm.el')
0 files changed, 0 insertions, 0 deletions