ruby-changes:44740
From: nobu <ko1@a...>
Date: Wed, 16 Nov 2016 15:59:45 +0900 (JST)
Subject: [ruby-changes:44740] nobu:r56813 (trunk): ruby-additional.el: unquoted code block
nobu 2016-11-16 15:59:40 +0900 (Wed, 16 Nov 2016) New Revision: 56813 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56813 Log: ruby-additional.el: unquoted code block * misc/ruby-additional.el (ruby-insert-heredoc-code-block): make code between "begin;" and "end;" unquoted. still quotable before "begin;". Modified files: trunk/misc/ruby-additional.el Index: misc/ruby-additional.el =================================================================== --- misc/ruby-additional.el (revision 56812) +++ misc/ruby-additional.el (revision 56813) @@ -162,7 +162,7 @@ Emacs to Ruby." https://github.com/ruby/ruby/blob/trunk/misc/ruby-additional.el#L162 "Insert indented here document code block" (interactive "P") (let ((c (if arg "~" "-"))) - (insert "\"#{<<" c "\"begin\;\"}\\n#{<<" c "\"end;\"}\"")) + (insert "\"#{<<" c "\"begin\;\"}\\n#{<<" c "'end;'}\"")) (end-of-line) (if (eobp) (insert "\n") (forward-char)) (indent-region (point) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/