]> git.eshelyaron.com Git - emacs.git/commitdiff
Mention the vc diff switches in diff-switches
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 3 Oct 2019 14:32:55 +0000 (16:32 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 3 Oct 2019 14:33:02 +0000 (16:33 +0200)
* lisp/vc/diff.el (diff-switches): Mention the vc diff switches in
the doc string (bug#4422).

lisp/vc/diff.el

index 5fa771f5f1e16843f819c34c889a65617b1e7bf3..9ece8bc1fb473a859324ecd2357f13ff043a2431 100644 (file)
 
 ;;;###autoload
 (defcustom diff-switches (purecopy "-u")
-  "A string or list of strings specifying switches to be passed to diff."
+  "A string or list of strings specifying switches to be passed to diff.
+
+This variable is also used in the `vc-diff' command (and related
+commands) if the backend-specific diff switch variable isn't
+set (`vc-git-diff-switches' for git, for instance), and
+`vc-diff-switches' isn't set."
   :type '(choice string (repeat string))
   :group 'diff)