Variable: adaptive-fill-first-line-regexp

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

Value

"\\`[   ]*\\'"

Documentation

Regexp specifying whether to set fill prefix from a one-line paragraph.

When a paragraph has just one line, then after adaptive-fill-regexp finds the prefix at the beginning of the line, if it doesn't match this regexp, it is replaced with whitespace.

By default, this regexp matches sequences of just spaces and tabs.

However, we never use a prefix from a one-line paragraph if it would act as a paragraph-starter on the second line.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/fill.el.gz
(defcustom adaptive-fill-first-line-regexp (purecopy "\\`[ \t]*\\'")
  "Regexp specifying whether to set fill prefix from a one-line paragraph.
When a paragraph has just one line, then after `adaptive-fill-regexp'
finds the prefix at the beginning of the line, if it doesn't
match this regexp, it is replaced with whitespace.

By default, this regexp matches sequences of just spaces and tabs.

However, we never use a prefix from a one-line paragraph
if it would act as a paragraph-starter on the second line."
  :type 'regexp)