Variable: before-save-hook
before-save-hook is a customizable variable defined in files.el.gz.
Value
(tpu-trim-line-ends-if-needed)
Documentation
Normal hook that is run before a buffer is saved to its file.
Used only by save-buffer.
Probably introduced at or before Emacs version 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/files.el.gz
(defcustom before-save-hook nil
"Normal hook that is run before a buffer is saved to its file.
Used only by `save-buffer'."
:options '(copyright-update time-stamp)
:type 'hook
:group 'files)