   (unless formatter
     (user-error "Don't know how to format '%s' code" major-mode))
   (let ((f-function (gethash formatter format-all-format-table))
-        (executable (format-all-formatter-executable formatter)))
+        (executable (format-all-formatter-executable formatter))
+        indent)
     (pcase-let
         ((`(,output ,errput ,first-diff)
           ;; Since `format-all' functions (and various formatting functions,

          (let ((output (buffer-substring-no-properties (point-min) (point-max))))
            (with-temp-buffer
              (insert output)
              (funcall f-function executable mode-result)))))
      (unwind-protect
          (cond ((null output) 'error)

  (interactive "r")
  (save-restriction
    (narrow-to-region beg end)
    (+format/buffer)))

;;;###autoload
(defun +format/region-or-buffer (beg end)
