Variable: editorconfig-trim-whitespaces-mode
editorconfig-trim-whitespaces-mode is a customizable variable defined
in editorconfig.el.gz.
Value
delete-trailing-whitespace-mode
Documentation
Buffer local minor-mode to use to trim trailing whitespaces.
If set, enable that mode when `trim_trailing_whitespace` is set to true.
Otherwise, use delete-trailing-whitespace.
This variable was added, or its default value changed, in Emacs 30.1.
Source Code
;; Defined in /usr/src/emacs/lisp/editorconfig.el.gz
(defcustom editorconfig-trim-whitespaces-mode #'delete-trailing-whitespace-mode
"Buffer local minor-mode to use to trim trailing whitespaces.
If set, enable that mode when `trim_trailing_whitespace` is set to true.
Otherwise, use `delete-trailing-whitespace'."
:version "30.1"
:type 'function)