Function: clojure--fix-sexp-whitespace
clojure--fix-sexp-whitespace is a byte-compiled function defined in
clojure-mode.el.
Signature
(clojure--fix-sexp-whitespace &optional MOVE-OUT)
Documentation
Fix whitespace after unwinding a threading form.
Optional argument MOVE-OUT, if non-nil, means moves up a list before fixing whitespace.
Source Code
;; Defined in ~/.emacs.d/elpa/clojure-mode-20260325.811/clojure-mode.el
(defun clojure--fix-sexp-whitespace (&optional move-out)
"Fix whitespace after unwinding a threading form.
Optional argument MOVE-OUT, if non-nil, means moves up a list
before fixing whitespace."
(save-excursion
(when move-out (backward-up-list))
(let ((sexp (bounds-of-thing-at-point 'sexp)))
(clojure-indent-region (car sexp) (cdr sexp))
(delete-trailing-whitespace (car sexp) (cdr sexp)))))