Variable: whitespace-empty-at-bob-regexp

whitespace-empty-at-bob-regexp is a customizable variable defined in whitespace.el.gz.

Value

"\\`\\([        \n]*\\(?:\n\\|$\\)\\)"

Documentation

Regexp to match empty lines at beginning of buffer that should be visualized.

The empty lines are highlighted using the whitespace-empty face. This variable is used when whitespace-style includes empty.

Source Code

;; Defined in /usr/src/emacs/lisp/whitespace.el.gz
(defcustom whitespace-empty-at-bob-regexp "\\`\\([ \t\n]*\\(?:\n\\|$\\)\\)"
  "Regexp to match empty lines at beginning of buffer that should be visualized.

The empty lines are highlighted using the `whitespace-empty' face.
This variable is used when `whitespace-style' includes `empty'."
  :type '(regexp :tag "Empty Lines At Beginning Of Buffer"))