Variable: show-trailing-whitespace
show-trailing-whitespace is a customizable and buffer-local variable
defined in xdisp.c.
Documentation
Non-nil means highlight trailing whitespace.
The face used for trailing whitespace is trailing-whitespace.
Probably introduced at or before Emacs version 21.1.
Source Code
// Defined in /usr/src/emacs/src/xdisp.c
DEFVAR_LISP ("show-trailing-whitespace", Vshow_trailing_whitespace,
doc: /* Non-nil means highlight trailing whitespace.
The face used for trailing whitespace is `trailing-whitespace'. */);