Skip to content

Commit b2428c9

Browse files
committed
fix indent on cond with long expressions
1 parent 3fc09ea commit b2428c9

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -958,21 +958,22 @@ hints for the pairwise grouping with comments or empty lines.
958958

959959
;; ok-ish
960960
(cond
961-
;; test case 1
962-
(test1)
963-
(long-function-name-which-requires-a-new-line
964-
(complicated-sub-form
961+
;; test case 1
962+
(test1)
963+
(long-function-name-which-requires-a-new-line
964+
(complicated-sub-form
965965
(-> 'which-spans multiple-lines)))
966966

967-
(test2)
968-
(another-very-long-function-name
969-
(yet-another-sub-form
967+
;; test case 2
968+
(test2)
969+
(another-very-long-function-name
970+
(yet-another-sub-form
970971
(-> 'which-spans multiple-lines)))
971972

972-
:else
973-
(the-fall-through-default-case
974-
(which-also-spans 'multiple
975-
'lines)))
973+
:else
974+
(the-fall-through-default-case
975+
(which-also-spans 'multiple
976+
'lines)))
976977
```
977978

978979
* <a name="set-as-predicate"></a>

0 commit comments

Comments
 (0)