File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1678,7 +1678,6 @@ Return nil if there are no more levels to unwind."
1678
1678
(newline-and-indent )
1679
1679
(clojure--remove-superfluous-parens)
1680
1680
; ; cljr #255 Fix dangling parens
1681
- (backward-up-list )
1682
1681
(forward-sexp )
1683
1682
(when (looking-back " ^\\ s-*)+\\ s-*" (line-beginning-position ))
1684
1683
(join-line ))
Original file line number Diff line number Diff line change 306
306
(beginning-of-buffer )
307
307
(clojure-thread-last-all nil ))
308
308
309
+ (def-threading-test last-dangling-parens-2
310
+ " (deftask dev []
311
+ (comp (serve)
312
+ (cljs)))"
313
+ " (->> (cljs)
314
+ (comp (serve))
315
+ (deftask dev []))"
316
+ (beginning-of-buffer )
317
+ (clojure-thread-last-all nil ))
318
+
309
319
; ; fix for clojure-emacs/clj-refactor.el#259
310
320
(def-threading-test last-leaves-multiline-sexp-alone
311
321
" (->> [a b]
You can’t perform that action at this time.
0 commit comments