GNU ELPA - cycle-quotes


Cycle between quote styles
cycle-quotes-0.1.tar, 2016-Jun-05, 20.0 KiB
Simen Heggest√łyl <>
Home page
Browse repository
CGit or Gitweb

To install this package, run in Emacs:

M-x package-install RET cycle-quotes RET

Full description

This package provides the `cycle-quotes' command to cycle between
different string quote styles.  For instance, in JavaScript,
there's three string quote characters: ", ` and '.  In a JavaScript
buffer, with point located someplace within the string,
`cycle-quotes' will cycle between the following quote styles each
time it's called:

   --> "Hi, it's me!" --> `Hi, it's me!` --> 'Hi, it\'s me!' --
  |                                                            |

As seen in the above example, `cycle-quotes' tries to escape and
unescape quote characters intelligently.