Skip to content

Commit 3c9a83a

Browse files
committed
Merge pull request bbatsov#116 from rafaelzlisboa/master
Fix indent on cond with long expressions ("ok-ish" case)
2 parents 186fb75 + 61a77c7 commit 3c9a83a

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
@@ -962,21 +962,22 @@ hints for the pairwise grouping with comments or empty lines.
962962

963963
;; ok-ish
964964
(cond
965-
;; test case 1
966-
(test1)
967-
(long-function-name-which-requires-a-new-line
968-
(complicated-sub-form
965+
;; test case 1
966+
(test1)
967+
(long-function-name-which-requires-a-new-line
968+
(complicated-sub-form
969969
(-> 'which-spans multiple-lines)))
970970

971-
(test2)
972-
(another-very-long-function-name
973-
(yet-another-sub-form
971+
;; test case 2
972+
(test2)
973+
(another-very-long-function-name
974+
(yet-another-sub-form
974975
(-> 'which-spans multiple-lines)))
975976

976-
:else
977-
(the-fall-through-default-case
978-
(which-also-spans 'multiple
979-
'lines)))
977+
:else
978+
(the-fall-through-default-case
979+
(which-also-spans 'multiple
980+
'lines)))
980981
```
981982

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

0 commit comments

Comments
 (0)