aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-10-03 16:32:55 +0200
committerLars Ingebrigtsen2019-10-03 16:33:02 +0200
commitc164f749794e7252887cce10cbfa31fd012351c3 (patch)
tree6da67bfec29c2165a0abf3cbd85becf9283b2789
parentdacafba03d8cbd6132d84f5c73b61e2ebee6b85a (diff)
downloademacs-c164f749794e7252887cce10cbfa31fd012351c3.tar.gz
emacs-c164f749794e7252887cce10cbfa31fd012351c3.zip
Mention the vc diff switches in diff-switches
* lisp/vc/diff.el (diff-switches): Mention the vc diff switches in the doc string (bug#4422).
-rw-r--r--lisp/vc/diff.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/vc/diff.el b/lisp/vc/diff.el
index 5fa771f5f1e..9ece8bc1fb4 100644
--- a/lisp/vc/diff.el
+++ b/lisp/vc/diff.el
@@ -39,7 +39,12 @@
39 39
40;;;###autoload 40;;;###autoload
41(defcustom diff-switches (purecopy "-u") 41(defcustom diff-switches (purecopy "-u")
42 "A string or list of strings specifying switches to be passed to diff." 42 "A string or list of strings specifying switches to be passed to diff.
43
44This variable is also used in the `vc-diff' command (and related
45commands) if the backend-specific diff switch variable isn't
46set (`vc-git-diff-switches' for git, for instance), and
47`vc-diff-switches' isn't set."
43 :type '(choice string (repeat string)) 48 :type '(choice string (repeat string))
44 :group 'diff) 49 :group 'diff)
45 50