Function: org-auto-fill-function
org-auto-fill-function is a byte-compiled function defined in
org.el.gz.
Signature
(org-auto-fill-function)
Documentation
Auto-fill function.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-auto-fill-function ()
"Auto-fill function."
;; Check if auto-filling is meaningful.
(let ((fc (current-fill-column)))
(when (and fc (> (current-column) fc))
(let* ((fill-prefix (org-adaptive-fill-function))
;; Enforce empty fill prefix, if required. Otherwise, it
;; will be computed again.
(adaptive-fill-mode (not (equal fill-prefix ""))))
(when fill-prefix (do-auto-fill))))))