3 ms·
For all the things that are not aligned vertically in strictly consecutive lines. Suppose you wrote some silly code like this: (cond ((eq x :one)
by junke 9y ago
For all the things that are not aligned vertically in strictly consecutive lines.
Suppose you wrote some silly code like this:
(cond
((eq x :one)
...)
((eq x :two)
...)
((eq x :three)
...))
Replace "cond" by "case x". Select first "eq x", mark the other two (you have 3 cursors now), forward to the keywoard, M-<up> (with paredit):
(case x
(:one
...)
(:two
...)
(:three
...))