Variable: whitespace-empty-at-eob-regexp
whitespace-empty-at-eob-regexp is a customizable variable defined in
whitespace.el.gz.
Value
"^\\([ \n]+\\)\\'"
Documentation
Regexp to match empty lines at end 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-eob-regexp "^\\([ \t\n]+\\)\\'"
"Regexp to match empty lines at end 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 End Of Buffer"))