Variable: magit-diff-hide-trailing-cr-characters

magit-diff-hide-trailing-cr-characters is a customizable variable defined in magit-diff.el.

Value

nil

Documentation

Whether to hide ^M characters at the end of a line in diffs.

This variable was added, or its default value changed, in magit version 2.6.0.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-diff.el
(defcustom magit-diff-hide-trailing-cr-characters
  (and (memq system-type '(ms-dos windows-nt)) t)
  "Whether to hide ^M characters at the end of a line in diffs."
  :package-version '(magit . "2.6.0")
  :group 'magit-diff
  :type 'boolean)