Skip to content
yuhan0 edited this page Nov 1, 2018 · 3 revisions

cc Cycle surrounding collection

Note: as of version 2.3.0 this function has been removed, use the improved "convert collection" functions in clojure-mode instead:

https://github.com/clojure-emacs/clj-refactor.el/wiki/clojure-convert-to-collection-type


Cycle the collection at point between list, map, vector and set literals.

With point at the |:

(:bar 'baz)

cycles to

{:bar 'baz}

then

[:bar 'baz]

then

#{:bar 'baz}

and back around again.