Variable: delete-trailing-lines

delete-trailing-lines is a customizable variable defined in simple.el.gz.

Value

t

Documentation

If non-nil, M-x delete-trailing-whitespace (delete-trailing-whitespace) deletes trailing lines.

Trailing lines are deleted only if delete-trailing-whitespace is called on the entire buffer (rather than an active region).

This variable was added, or its default value changed, in Emacs 24.3.

View in manual

Probably introduced at or before Emacs version 24.3.

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defcustom delete-trailing-lines t
  "If non-nil, \\[delete-trailing-whitespace] deletes trailing lines.
Trailing lines are deleted only if `delete-trailing-whitespace'
is called on the entire buffer (rather than an active region)."
  :type 'boolean
  :group 'editing
  :version "24.3")