Variable: vc-diff-switches

vc-diff-switches is a customizable variable defined in vc.el.gz.

Value

nil

Documentation

A string or list of strings specifying switches for diff under VC.

When running diff under a given BACKEND, VC uses the first non-nil value of vc-BACKEND-diff-switches, vc-diff-switches, and diff-switches(var)/diff-switches(fun), in that order. Since nil means to check the next variable in the sequence, either of the first two may use the value t to mean no switches at all. vc-diff-switches should contain switches that are specific to version control, but not specific to any particular backend.

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

View in manual

Probably introduced at or before Emacs version 23.1.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc.el.gz
(defcustom vc-diff-switches nil
  "A string or list of strings specifying switches for diff under VC.
When running diff under a given BACKEND, VC uses the first
non-nil value of `vc-BACKEND-diff-switches', `vc-diff-switches',
and `diff-switches', in that order.  Since nil means to check the
next variable in the sequence, either of the first two may use
the value t to mean no switches at all.  `vc-diff-switches'
should contain switches that are specific to version control, but
not specific to any particular backend."
  :type '(choice (const :tag "Unspecified" nil)
		 (const :tag "None" t)
		 (string :tag "Argument String")
		 (repeat :tag "Argument List" :value ("") string))
  :version "21.1")