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
This commit is contained in:
nobu 2016-11-16 06:59:40 +00:00
Родитель 708f1e74b7
Коммит 508fb9fba1
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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)