diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-16 06:59:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-16 06:59:40 +0000 |
commit | 508fb9fba111cbb1280ea607d798e66d1559b4a8 (patch) | |
tree | 31fa5e9e630a2d949bcacbbb822d3fc1c4b2fbbd | |
parent | 708f1e74b7aa74c835b255cb605da7307dccfbdb (diff) |
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
-rw-r--r-- | misc/ruby-additional.el | 2 |
1 files changed, 1 insertions, 1 deletions
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) |