Function: kfill:do-auto-fill

kfill:do-auto-fill is a byte-compiled function defined in kfill.el.

Signature

(kfill:do-auto-fill)

Documentation

Kotl-mode auto-fill function. Return t if any filling is done.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kfill.el
(defun kfill:do-auto-fill ()
  "Kotl-mode auto-fill function.  Return t if any filling is done."
  (save-restriction
    (if (null fill-prefix)
	(let ((paragraph-ignore-fill-prefix nil)
	      ;; Need this or Emacs ignores fill-prefix when inside a
	      ;; comment.
	      (comment-multi-line t)
	      (fill-paragraph-handle-comment t)
	      fill-prefix)
	  (kfill:adapt nil)
	  (do-auto-fill))
      (do-auto-fill))))