]> code.delx.au - gnu-emacs/commit
Also handle escaping when string begins with a quote
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 27 Jun 2016 04:26:46 +0000 (07:26 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 27 Jun 2016 04:31:52 +0000 (07:31 +0300)
commit15c307417f7bc13b27f06994dd931cb04873a26f
tree25f2ce5d9c47052728892d193e2b64e07bf7a3aa
parent7f02dedfcae6ba0e3a646c1367c908af9b3dbe1d
Also handle escaping when string begins with a quote

* lisp/progmodes/ruby-mode.el (ruby-toggle-string-quotes):
Handle quoting of the first character in the string.

* test/lisp/progmodes/ruby-mode-tests.el
(ruby-toggle-string-quotes-quotes-correctly): Update.
lisp/progmodes/ruby-mode.el
test/lisp/progmodes/ruby-mode-tests.el