From 508fb9fba111cbb1280ea607d798e66d1559b4a8 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 16 Nov 2016 06:59:40 +0000 Subject: [PATCH] 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;". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- misc/ruby-additional.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/ruby-additional.el b/misc/ruby-additional.el index a70aa7d54f..9914178003 100644 --- a/misc/ruby-additional.el +++ b/misc/ruby-additional.el @@ -162,7 +162,7 @@ Emacs to Ruby." "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)