Variable: whitespace-empty-at-eob-regexp

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

Value

"^\\([  \n]+\\)\\'"

Documentation

Specify regexp for empty lines at end of buffer.

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]+\\)\\'"
  "Specify regexp for empty lines at end of buffer.

Used when `whitespace-style' includes `empty'."
  :type '(regexp :tag "Empty Lines At End Of Buffer")
  :group 'whitespace)