fix bug in 144fdb2a
This commit is contained in:
parent
868140d91c
commit
f68f329564
|
@ -555,7 +555,7 @@
|
||||||
|
|
||||||
;; last2 is the start of the S-exp just before the one before "pos"
|
;; last2 is the start of the S-exp just before the one before "pos"
|
||||||
(define last2
|
(define last2
|
||||||
(if contains
|
(if last
|
||||||
(let ([p (get-backward-sexp last)])
|
(let ([p (get-backward-sexp last)])
|
||||||
(if (and p (p . >= . limit))
|
(if (and p (p . >= . limit))
|
||||||
p
|
p
|
||||||
|
@ -665,6 +665,7 @@
|
||||||
(do-indent (+ (visual-offset contains)
|
(do-indent (+ (visual-offset contains)
|
||||||
(procedure-indent)))]
|
(procedure-indent)))]
|
||||||
[(and (for/fold-style?)
|
[(and (for/fold-style?)
|
||||||
|
last2
|
||||||
(= contains last2))
|
(= contains last2))
|
||||||
(do-indent (- last (paragraph-start-position last-para)))]
|
(do-indent (- last (paragraph-start-position last-para)))]
|
||||||
[(or (define-or-lambda-style?)
|
[(or (define-or-lambda-style?)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user