Variable: diff-ignore-whitespace-switches

diff-ignore-whitespace-switches is a customizable variable defined in diff-mode.el.gz.

Value

"-b"

Documentation

Switch or list of diff switches to use when ignoring whitespace.

The default "-b" means to ignore whitespace-only changes,
"-w" means ignore all whitespace changes.

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

View in manual

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/diff-mode.el.gz
(defcustom diff-ignore-whitespace-switches "-b"
  "Switch or list of diff switches to use when ignoring whitespace.
The default \"-b\" means to ignore whitespace-only changes,
\"-w\" means ignore all whitespace changes."
  :type '(choice
          (string :tag "Ignore whitespace-only changes" :value "-b")
          (string :tag "Ignore all whitespace changes" :value "-w")
          (string :tag "Single switch")
          (repeat :tag "Multiple switches" (string :tag "Switch")))
  :version "30.1")