Variable: adaptive-fill-regexp

adaptive-fill-regexp is a customizable variable defined in fill.el.gz.

Value

"[-–!|#%;>*·•‣⁃◦     ]*"

Documentation

Regexp to match text at start of line that constitutes indentation.

If Adaptive Fill mode is enabled, a prefix matching this pattern on the first and second lines of a paragraph is used as the standard indentation for the whole paragraph.

If the paragraph has just one line, the indentation is taken from that line, but in that case adaptive-fill-first-line-regexp also plays a role.

View in manual

Probably introduced at or before Emacs version 19.30.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/fill.el.gz
(defcustom adaptive-fill-regexp
  ;; Added `!' for doxygen comments starting with `//!' or `/*!'.
  ;; Added `%' for TeX comments.
  ;; RMS: deleted the code to match `1.' and `(1)'.
  ;; Update mail-mode's paragraph-separate if you change this.
  "[-–!|#%;>*·•‣⁃◦ \t]*"
  "Regexp to match text at start of line that constitutes indentation.
If Adaptive Fill mode is enabled, a prefix matching this pattern
on the first and second lines of a paragraph is used as the
standard indentation for the whole paragraph.

If the paragraph has just one line, the indentation is taken from that
line, but in that case `adaptive-fill-first-line-regexp' also plays
a role."
  :type 'regexp)