Function: neocaml--format-before-save

neocaml--format-before-save is a natively compiled function defined in neocaml.el.

Signature

(neocaml--format-before-save)

Documentation

Format the buffer before saving when neocaml-format-on-save is non-nil.

Source Code

;; Defined in /nix/store/ahssdx4rwzyxhyhavpn0bkznk13xrggi-emacs-packages-deps/share/emacs/site-lisp/elpa/neocaml-20260907.2015/neocaml.el
(defun neocaml--format-before-save ()
  "Format the buffer before saving when `neocaml-format-on-save' is non-nil."
  (when neocaml-format-on-save
    (neocaml-format-buffer)))