You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate cycle privacy, cycle collection type and cycle if/if-not
implementations from clj-refactor.el.
Additionally refactor `def-threading-test` macro to use it for testing
cycling stuff too and fix duplicate test names in
`clojure-mode-refactor-threading-test`
Cycle privacy of `def`s or `defn`s. Use metadata explicitly with setting `clojure-use-metadata-for-privacy` to `t` for `defn`s too. See demonstration on the [clj-refactor.el wiki](https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-cycle-privacy).
267
+
268
+
* Cycle collection type
269
+
270
+
Cycle the collection at point between list, map, vector and set literals. See demonstration on the [clj-refactor.el wiki](https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-cycle-coll).
271
+
272
+
* Cycle if/if-not
273
+
274
+
Find the closest if or if-not up the syntax tree and toggle it. Also transpose the "else" and "then" branches, keeping the semantics the same as before. See demonstration on the [clj-refactor.el wiki](https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-cycle-if).
0 commit comments